cpp/error/error condition/operator=

Assigns contents to an error condition.

@1@ Assigns error condition for enum. Effectively calls that is only found by argument-dependent lookup for  and then replaces  with the result. .

@2,3@ Implicitly defined copy-assignment operator and move-assignment operator assign the contents of to.

Return value
.