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.
PrevUpHomeNext

Concept CopyConstructible

CopyConstructible

Description

Copy constructible types must be able to be constructed from another member of the type.

Notation

X
A type playing the role of copy-constructible-type in the CopyConstructible concept.
x, y,
Objects of type X

Valid expressions

Name Expression Type Semantics

Copy construction

X(x)

X

Require copy constructor.

Models

  • int
Copyright 2001, 2002 Indiana University
Copyright 2000, 2001 University of Notre Dame du Lac
Copyright 2000 Jeremy Siek, Lie-Quan Lee, Andrew Lumsdaine
Copyright 1996-1999 Silicon Graphics Computer Systems, Inc.
Copyright 1994 Hewlett-Packard Company

PrevUpHomeNext