Author
anonymous
almost 8 years ago
Language
Compiler
Options
Author
anonymous
almost 8 years ago
$
prog.cc: In instantiation of 'struct MaybeAssert<int, 1>':
prog.cc:14:6: required by substitution of 'template<class T> void foo(typename MaybeAssert<T, 0>::type, typename MaybeAssert<T, 1>::type) [with T = int]'
prog.cc:19:14: required from here
prog.cc:6:5: error: static assertion failed: Assertion
static_assert(N < 1, "Assertion");
^~~~~~~~~~~~~
Exit Code:
1