Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 8 years ago

Language

Compiler

Options

Author

anonymous

over 8 years ago

$
prog.cc: In function 'int main()':
prog.cc:24:30: error: no matching function for call to 'visit_wrapper(size_t, std::tuple<int, int, int>&)'
     visit_wrapper(size_t(3),a);
                              ^
prog.cc:14:6: note: candidate: 'template<class ... Args> void visit_wrapper(size_t, std::tuple<_Elements&& ...>)'
 void visit_wrapper(size_t size,tuple<Args&&...> tp)
      ^~~~~~~~~~~~~
prog.cc:14:6: note:   template argument deduction/substitution failed:
prog.cc:24:30: note:   mismatched types '_Elements&&' and 'int'
     visit_wrapper(size_t(3),a);
                              ^
Exit Code:
1