Author
anonymous
almost 7 years ago
Language
Compiler
Options
Author
anonymous
almost 7 years ago
$
prog.cc: In instantiation of 'constexpr auto SparseArray<T, size>::someMethod() [with T = int; long unsigned int size = 3ul]':
prog.cc:37:22: required from here
prog.cc:28:66: error: 'this' is not a constant expression
auto seq2 = std::integer_sequence<ElementType, get<0>()>{}; // <-- error
^
prog.cc:28:66: note: in template argument for type 'int'
Exit Code:
1