From cppreference.com
Specifies that an instance of the type can be copy-assigned from an
.
Requirements
The type T satisfies CopyAssignable if
The type T satisfies
, and
Given
t, a modifiable
of type T,
v, an
expression of type T or const T or an
expression of type const T.
The following expressions must be valid and have their specified effects.
ExpressionReturn typeReturn valuePost-conditions t=vT&tThe value of t is equivalent to the value of v. The value of v is unchanged.
See also