std::bad_exception::operator=
< cpp | error | bad exception
|
bad_exception& operator=( const bad_exception& other ) throw();
|
(C++11 前) | |
|
bad_exception& operator=( const bad_exception& other ) noexcept;
|
(C++11 起) | |
用 other 的内容赋值。若 *this 与 other 均拥有动态类型 std::bad_exception,则赋值后 std::strcmp(what(), other.what()) == 0。 (C++11 起)
参数
| other | - | 要赋值的另一 bad_exception 对象 |
返回值
*this.