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
類型 X 的對象

Valid expressions 有效表達式

Name 名字 Expression 表達式 Type 類型 Semantics 語義

Copy construction 複製構造

X(x)

X

Require copy constructor.

要求複製構造函數發。

Models 模型

  • int

PrevUpHomeNext