Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

Compiler

Options

$
prog.cc:2:16: error: static_assert failed "error!"
struct Error { static_assert( B, "error!" ); };
               ^              ~
prog.cc:17:33: note: in instantiation of template class 'Error<float, false>' requested here
auto f( Tuple<T> ) -> decltype( wrap( raise<T>() ) );
                                ^
prog.cc:20:15: note: while substituting deduced template arguments into function template 'f' [with T = float]
    decltype( f( Tuple<float, double>{} ) ) obj;
              ^
1 error generated.
Exit Code:
1