Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
C++ Boost

Assignable

Description

A type is Assignable if it is possible to assign one object of the type to another object of that type.

Notation

T is type that is a model of Assignable
t is an object of type T
u is an object of type T or possibly const T

Definitions

Valid expressions

Name Expression Return type Semantics
Assignment t = u T& t is equivalent to u

Models

See also

DefaultConstructible and CopyConstructible

Copyright © 2000 Jeremy Siek, Univ.of Notre Dame (jsiek@lsc.nd.edu)