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

Click here to view the latest version of this page.
Concept DefaultConstructible
c++boost.gif (8819 bytes)HomeLibrariesPeopleFAQMore

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

NameExpressionTypeSemantics

Construction

X()

X

Construct an instance of the type with default parameters.

Models

  • int
  • std::vector<double>
Last revised: , at GMTCopyright © 2001, 2002 Indiana University
Copyright © 2000, 2001 University of Notre Dame du Lac
Copyright © 2000 Jeremy Siek, Lie-Quan Lee, Andrew Lumsdaine
Copyright © 1996-1999 Silicon Graphics Computer Systems, Inc.
Copyright © 1994 Hewlett-Packard Company