Author
anonymous
almost 7 years ago
Language
Compiler
Options
Author
anonymous
almost 7 years ago
$
prog.cc: In function 'D(unsigned int)-> D<<anonymous> > [with unsigned int <anonymous> = 0]':
prog.cc:8:18: error: 'constexpr const unsigned int B::i' is protected within this context
D(unsigned = B::i) {}
^
prog.cc:3:31: note: declared protected here
static constexpr unsigned i = 0;
^
Exit Code:
1