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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

BoostBook element copy-assignment

copy-assignment — Declares a copy-assignment operator


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


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.


Name Type Value Purpose
last-revision #IMPLIED CDATA Set to $Date: 2008-06-15 20:48:40 +0100 (Sun, 15 Jun 2008) $ to keep "last revised" information in sync with CVS changes
cv #IMPLIED CDATA cv-qualifiers for this method, e.g., const volatile
specifiers #IMPLIED CDATA The specifiers for this function, e.g., inline, static, etc.
id #IMPLIED CDATA A global identifier for this element
xml:base #IMPLIED CDATA Implementation detail used by XIncludes