std::bad_exception::operator=
From cppreference.com
                    
                                        
                    < cpp | error | bad exception
                    
                                                            
                    | bad_exception& operator=( const bad_exception& other ) noexcept; | ||
Assigns the contents of other.
Parameters
| other | - | another bad_exceptionobject to assign | 
Return value
*this.