Template:cpp/error/exception/member of derived

{{member | {{small|std::{{{1}}}::}}{{#explode:{{{1}}}|::|-1}} | {{dcl begin}} {{#if:{{{std|}}} {{dcl | num=1 | since={{{std|}}} | {{#explode:{{{1}}}|::|-1}} noexcept; }} {{dcl | num=2 | since={{{std|}}} | {{#explode:{{{1}}}|::|-1}}( const {{#explode:{{{1}}}|::|-1}}& other ) noexcept; }} {{dcl rev multi | num=1 | until1=c++11 {{#explode:{{{1}}}|::|-1}} throw; {{#explode:{{{1}}}|::|-1}} noexcept; }} {{dcl rev multi | num=2 | until1=c++11 {{#explode:{{{1}}}|::|-1}}( const {{#explode:{{{1}}}|::|-1}}& other ) throw; {{#explode:{{{1}}}|::|-1}}( const {{#explode:{{{1}}}|::|-1}}& other ) noexcept; }} }} {{dcl end}}
 * dcl1=
 * dcl2=
 * dcl1=
 * dcl2=

Constructs a new {{tt|{{#explode:{{{1}}}|::|-1}}}} object with an implementation-defined null-terminated byte string which is accessible through {{ltf|cpp/error/exception/what}}.

@1@ Default constructor. @2@ Copy constructor. {{#if:{{{std|}}} }}
 * If {{tt|*this}} and {{tt|other}} both have dynamic type {{tt|std::{{{1}}}}} then {{c|1=std::strcmp(what, other.what) == 0}}.
 * {{rev inl|since=c++11|If {{tt|*this}} and {{tt|other}} both have dynamic type {{tt|std::{{{1}}} }} then {{c|1=std::strcmp(what, other.what) == 0}}.}}

Parameters
}}