C++ Exception 库 - operator=
描述
这是一个复制异常。
声明
以下是 std::exception::operator= 的声明
exception& operator= (const exception& e) throw();
C++11
exception& operator= (const exception& e) noexcept;
参数
e − 它是另一个异常对象。
返回值
none
异常
No-throw guarantee − 没有成员抛出异常。
这是一个复制异常。
以下是 std::exception::operator= 的声明
exception& operator= (const exception& e) throw();
exception& operator= (const exception& e) noexcept;
e − 它是另一个异常对象。
none
No-throw guarantee − 没有成员抛出异常。
