Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$
prog.cc: In function 'constexpr void test()':
prog.cc:18:19: error: passing 'const const_vec<3>' as 'this' argument discards qualifiers [-fpermissive]
vec.push_back();
^
prog.cc:10:20: note: in call to 'constexpr void const_vec<N>::push_back() [with long unsigned int N = 3]'
constexpr void push_back() {
^~~~~~~~~
Exit Code:
1