Assignment
`basic_outcome &operator=(basic_outcome &&)`
Move assignment. Requires: that value_type, error_type and exception_type all implement move assignment. Complexity: If the value_type for both is present, uses value_type’s move assignment operator, else either destructs or move constructs value_type as appropriate. error_type’s and exception_type’s move assignment operator are always used. Constexpr, triviality and noexcept of underlying operations is propagated. Guarantees: If an exception is thrown during the operation, the object is left in a partially completed state, as per the normal rules for the same operation on a struct. »
`basic_outcome &operator=(const basic_outcome &)`
Copy assignment. Requires: that value_type, error_type and exception_type all implement copy assignment. Complexity: If the value_type for both is present, uses value_type’s copy assignment operator, else either destructs or copy constructs value_type as appropriate. error_type’s and exception_type’s copy assignment operator is always used. Constexpr, triviality and noexcept of underlying operations is propagated. Guarantees: If an exception is thrown during the operation, the object is left in a partially completed state, as per the normal rules for the same operation on a struct. »
`basic_result &operator=(basic_result &&)`
Move assignment. Requires: that value_type and error_type both implement move assignment. Complexity: If the value_type for both is present, uses value_type’s move assignment operator, else either destructs or move constructs value_type as appropriate. error_type’s move assignment operator is always used. Constexpr, triviality and noexcept of underlying operations is propagated. Guarantees: If an exception is thrown during the operation, the object is left in a partially completed state, as per the normal rules for the same operation on a struct. »
`basic_result &operator=(const basic_result &)`
Copy assignment. Requires: that value_type and error_type both implement copy assignment. Complexity: If the value_type for both is present, uses value_type’s copy assignment operator, else either destructs or copy constructs value_type as appropriate. error_type’s copy assignment operator is always used. Constexpr, triviality and noexcept of underlying operations is propagated. Guarantees: If an exception is thrown during the operation, the object is left in a partially completed state, as per the normal rules for the same operation on a struct. »