Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 9 years ago

Language

Compiler

Options

Author

anonymous

about 9 years ago

$
prog.cc:9:5: error: static_assert failed "You are trying to use f with the wrong numbers"
    static_assert(x == 3 || x == 5, "You are trying to use f with the wrong numbers");
    ^             ~~~~~~~~~~~~~~~~
prog.cc:28:5: note: in instantiation of function template specialization 'f<10>' requested here
    f<10>();
    ^
1 error generated.
Exit Code:
1