Back to Alisql

Assignable

extra/boost/boost_1_77_0/libs/utility/Assignable.html

latest1.0 KB
Original Source

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

NameExpressionReturn typeSemantics
Assignmentt = uT&t is equivalent to u

Models

  • int
  • std::pair

See also

DefaultConstructible and CopyConstructible


Revised 05 December, 2006

| Copyright © 2000 | Jeremy Siek, Univ.of Notre Dame ([email protected]) |

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)