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

vs

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1,92 sec, absolute service time: 1,95 sec 
edit mode |  history
Error(s):
source_file.cpp(31): error C2535: 'unknown-type Printer<T>::print_(U &)': member function already defined or declared
source_file.cpp(21): note: see declaration of 'Printer<T>::print_'
source_file.cpp(41): note: see reference to class template instantiation 'Printer<T>' being compiled
source_file.cpp(31): error C2535: 'unknown-type Printer<main::<lambda_904e7d2c01f84c0bd1a77db5c27a45b5>>::print_(U &)': member function already defined or declared
source_file.cpp(21): note: see declaration of 'Printer<main::<lambda_904e7d2c01f84c0bd1a77db5c27a45b5>>::print_'
source_file.cpp(45): note: see reference to class template instantiation 'Printer<main::<lambda_904e7d2c01f84c0bd1a77db5c27a45b5>>' being compiled
source_file.cpp(31): error C2535: 'unknown-type Printer<main::<lambda_abc66bcf4425d6bab213e57bf3bd5a8d>>::print_(U &)': member function already defined or declared
source_file.cpp(21): note: see declaration of 'Printer<main::<lambda_abc66bcf4425d6bab213e57bf3bd5a8d>>::print_'
source_file.cpp(48): note: see reference to class template instantiation 'Printer<main::<lambda_abc66bcf4425d6bab213e57bf3bd5a8d>>' being compiled
source_file.cpp(45): note: see reference to class template instantiation 'Printer<main::<lambda_904e7d2c01f84c0bd1a77db5c27a45b5>>' being compiled
source_file.cpp(33): error C2672: 'Printer<main::<lambda_abc66bcf4425d6bab213e57bf3bd5a8d>>::print_': no matching overloaded function found
source_file.cpp(33): note: while compiling class template member function 'auto Printer<main::<lambda_abc66bcf4425d6bab213e57bf3bd5a8d>>::print(void)'
source_file.cpp(48): note: see reference to class template instantiation 'Printer<main::<lambda_abc66bcf4425d6bab213e57bf3bd5a8d>>' being compiled
source_file.cpp(33): error C2893: Failed to specialize function template 'unknown-type Printer<main::<lambda_abc66bcf4425d6bab213e57bf3bd5a8d>>::print_(U &)'
source_file.cpp(33): note: With the following template arguments:
source_file.cpp(33): note: 'U=main::<lambda_abc66bcf4425d6bab213e57bf3bd5a8d>'