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:14:9: error: static_assert failed "Bad T!!!!"
        static_assert(false_v<T>, "Bad T!!!!");
        ^             ~~~~~~~~~~
prog.cc:20:17: note: in instantiation of function template specialization 'f<double>' requested here
   std::cout << f<double>() << "\n";
                ^
1 error generated.
Exit Code:
1