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

This is an old version of boost. Click here for the latest version's documentation home page.
BoostBook element copy-assignment
c++boost.gif (8819 bytes)HomeLibrariesPeopleFAQMore

BoostBook element copy-assignment

copy-assignment — Declares a copy-assignment operator

Synopsis

copy-assignment ::= (template?, type?, parameter*, purpose?, description?, requires?, effects?, postconditions?, returns?, throws?, complexity?, notes?, rationale?)

Description

The return type of the copy-assignment operator does not need to be specified. If left unspecified, it will default to an unqualified reference to the enclosing class type.

General documentation on functions in BoostBook is provided in the function element documentation.

Attributes

NameTypeValuePurpose
last-revision#IMPLIEDCDATASet to $Date: 2004/01/15 16:08:59 $ to keep "last revised" information in sync with CVS changes
cv#IMPLIEDCDATAcv-qualifiers for this method, e.g., const volatile
specifiers#IMPLIEDCDATAThe specifiers for this function, e.g., inline, static, etc.
id#IMPLIEDCDATAA global identifier for this element
xml:base#IMPLIEDCDATAImplementation detail used by XIncludes
Last revised: , at GMTCopyright © 2003 Douglas Gregor