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