CONCEPT ASSIGNABLE(7)

NAME
Assignable

DESCRIPTION

Assignable types must have copy constructors, operator= for assignment, and the swap() function defined.

REFINEMENT OF

    &#8226; CopyConstructible

NOTATION

X
    A type playing the role of assignable-type in the Assignable concept.

x, y
    Objects of type X

VALID EXPRESSIONS
Name | Expression | Type | Semantics
Assignment | x = y | X & | Require operator=
Swap | swap(x, y) | void | Require swap() function

MODELS

    &#8226; int

SEE ALSO

    &#8226; CopyConstructible