Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Concept DefaultConstructible 可缺省構造概念

DefaultConstructible 可缺省構造

Description 說明

DefaultConstructible objects only need to have a default constructor.
可缺省構造的對象只需具有一個缺省構造函數。

Notation 符號

X
A type playing the role of default-constructible-type in the DefaultConstructible concept.
可缺省構造 概念中擔任可缺省構造類型角色的類型。

Valid expressions 有效表達式

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

Construction 構造

X()

X

Construct an instance of the type with default parameters.

以缺省參數構造該類型的一個實例。

Models 模型

  • int
  • std::vector<double>

PrevUpHomeNext