Boost C++ Libraries Home Libraries People FAQ More

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

PrevUpHomeNext