##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::bad_exception::operator=

From cppreference.com
< cpp‎ | error‎ | bad exception

bad_exception& operator=( const bad_exception& other ); |  | (since C++11)

Assigns the contents of `other`.

### [edit] Parameters

other | - | another `bad_exception` object to assign

### [edit] Return value

*this.

### [edit] Exceptions

`noexcept` specification:
noexcept
Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/error/bad_exception/operator%3D&oldid=61391"
Category:

- unconditionally noexcept