error_condition& operator=( const error_condition& other ); | (1) | (since C++11) (implicitly declared) |
template< class ErrorConditionEnum > error_condition& operator=( ErrorConditionEnum e ); | (2) | (since C++11) |
Assigns contents to an error condition.
other
.e
. Effectively calls make_error_condition()
. Does not participate in the overload resolution unless is_error_condition_enum<ErrorConditionEnum>::value
is true
.other | - | another error condition to initialize with |
e | - | error condition enum |
*this
.
noexcept
specification: noexcept
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/error/error_condition/operator=