...
The copy constructor for an object thrown as an exception must be declared noexcept(true)
, including any implicitly-defined copy constructors. Note, any function declared noexcept(true)
that terminates by throwing an exception does not conform to violates ERR55-CPP. Honor exception specifications.
...