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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
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