C++ concepts: CopyAssignable
Specifies that an instance of the type can be copy-assigned (copied).
This concept implies
The type must implement the following functions:
Type& Type::operator=( Type& other );
Type& Type::operator=( const Type& other );
|(One of the variants is sufficient)|
Copy assignment operator: assigns the contents of
other. The internal state of
other must not be modified.
The following expressions must have the specified effects:
|a = v;|| |
| checks if a type has a copy assignment operator |