stderror_conditionoperator(3)
std::error_condition::operator= - std::error_condition::operator=
Synopsis
error_condition &operator=(const error_condition &other) noexcept;
(1)(since C++ 11)(implicitly declared)
template <class ErrorConditionEnum>
(2)(since C++ 11)
error_condition &
operator=(ErrorConditionEnum e) noexcept;Assigns contents to an error condition.
- Copy assignment operator. Assigns the contents of other.
- Assigns error condition for enum e. Effectively calls make_error_condition(). Does not participate in the overload resolution unless is_error_condition_enum<ErrorConditionEnum>::value is true.
Parameters
other - another error condition to initialize with e - error condition enum
Return value
*this.