Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
prog.cc:24:37: warning: unused parameter 'other_sized_template' [-Wunused-parameter]
   MyClass(const MyClass<T, size2>& other_sized_template) { std::cout << "specific\n"; } // this won't work unless the template ctor above is disabled if the arguments passed are of type Myclass
                                    ^
prog.cc:32:23: warning: unused variable 'two' [-Wunused-variable]
    MyClass<float, 4> two = one;
                      ^
2 warnings generated.
forward
specific
Exit Code:
0