Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 7 years ago

Language

Compiler

Options

Author

anonymous

almost 7 years ago

$
prog.cc: In instantiation of 'void foobar(int, T2) [with T2 = char]':
prog.cc:81:16:   required from here
prog.cc:42:17: warning: unused parameter 't1' [-Wunused-parameter]
 void foobar(int t1, T2 t2)
             ~~~~^~
prog.cc:42:24: warning: unused parameter 't2' [-Wunused-parameter]
 void foobar(int t1, T2 t2)
                     ~~~^~
prog.cc: In instantiation of 'void foobar(T1, T2) [with T1 = char; T2 = char]':
prog.cc:82:16:   required from here
prog.cc:36:16: warning: unused parameter 't1' [-Wunused-parameter]
 void foobar(T1 t1, T2 t2)
             ~~~^~
prog.cc:36:23: warning: unused parameter 't2' [-Wunused-parameter]
 void foobar(T1 t1, T2 t2)
                    ~~~^~
prog.cc: In instantiation of 'static void bar_impl<int, T2>::Do(B<int, T2>&) [with T2 = char]':
prog.cc:32:32:   required from 'void bar(B<T1, T2>&) [with T1 = int; T2 = char]'
prog.cc:77:22:   required from here
prog.cc:23:20: warning: unused parameter 'b' [-Wunused-parameter]
     Do(B<int, T2> &b)
        ~~~~~~~~~~~~^
T1 = i
T2 = c
Specialized template
Specialized template
Specialized template [foobar]
Default template [foobar]
Exit Code:
0