std::exception::operator=

From cppreference.com
 
 
 
 
 
exception& operator=( const exception& other );

Copy assignment operator. Assigns the contents of other

[edit] Parameters

other - another exception to assign the contents of

[edit] Exceptions

noexcept specification:  
noexcept
  (since C++11)