Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
compile c++ clang onlineError(s): source_file.cpp:46:5: error: no matching function for call to 'print' print(fmt, "World", 42); ^~~~~ source_file.cpp:36:6: note: candidate function [with Args = <char const (&)[6], int>] not viable: no known conversion from 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'std::string &&' (aka 'basic_string<char, char_traits<char>, allocator<char> > &&') for 1st argument void print(std::string&& fmt, Args&&... args) ^ 1 error generated. |
λ
.NET NoSQL database for rapid development
|