std::error_condition::operator=
Min standard notice:
Assigns contents to an error condition.
# Declarations
template< class ErrorConditionEnum >
error_condition& operator=( ErrorConditionEnum e ) noexcept;
(since C++11)
error_condition& operator=( const error_condition& other ) = default;
(since C++11) (implicitly declared)
error_condition& operator=( error_condition&& other ) = default;
(since C++11) (implicitly declared)
# Parameters
e: error condition enumother: another error condition to assign with
# Return value
*this.
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 3629 | C++11 | only std::make_error_condition overloads were used | ADL-found overloads are used |