C++ Exception Library - operator=


Advertisements

Description

It is a copy exception.

Declaration

Following is the declaration for std::exception::operator=

	
exception& operator= (const exception& e) throw();

C++11

	
exception& operator= (const exception& e) noexcept;

Parameters

e − It is an another exception object.

Return Value

none

Exceptions

No-throw guarantee − no members throw exceptions.

exception.htm
Advertisements