Author
anonymous
almost 8 years ago
Language
Compiler
Options
Author
anonymous
almost 8 years ago
$
prog.cc:9:2: error: exception specification of explicitly defaulted default constructor does not match the calculated one
atomic() noexcept = default;
^
prog.cc:26:35: note: in instantiation of template class 'atomic<non_default_ctor_able>' requested here
atomic<non_default_ctor_able> atm{non_default_ctor_able{42}};
^
1 error generated.
Exit Code:
1