Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

MSVC bug

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1,66 sec, absolute service time: 1,7 sec 
edit mode |  history
Error(s):
source_file.cpp(31): error C2672: 'StringTo': no matching overloaded function found
source_file.cpp(37): note: see reference to function template instantiation 'auto StringToVector<std::basic_string<char,std::char_traits<char>,std::allocator<char>>>(Type &&,const char [])' being compiled
        with
        [
            Type=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
        ]
source_file.cpp(31): error C2783: 'Container StringTo(Type &&,const char [],Return (__cdecl Container::* )(const Parameter &))': could not deduce template argument for 'Return'
source_file.cpp(16): note: see declaration of 'StringTo'
source_file.cpp(31): error C2783: 'Container StringTo(Type &&,const char [],Return (__cdecl Container::* )(const Parameter &))': could not deduce template argument for 'Container'
source_file.cpp(16): note: see declaration of 'StringTo'
source_file.cpp(31): error C2783: 'Container StringTo(Type &&,const char [],Return (__cdecl Container::* )(const Parameter &))': could not deduce template argument for 'Parameter'
source_file.cpp(16): note: see declaration of 'StringTo'
source_file.cpp(37): error C3313: 'v': variable cannot have the type 'void'
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64

        

    
                
λ
.NET NoSQL database for rapid development