Assign to this object the value of the specified rhs exception.

Synopses

Declared in <bslstl_badweakptr.h>

constexpr
exception&
operator=(exception const&) = default;

Assign to this object the value of the specified rhs exception.

BadWeakPtr&
operator=(std::exception const& rhs) noexcept;
constexpr
exception&
operator=(exception&&) = default;

Return Value

reference providing modifiable access to this object

Parameters

Name

Description

rhs

exception object to assign from

Created with MrDocs