##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# C++ concepts: DefaultConstructible

From cppreference.com
< cpp‎ | concept

Specifies that an instance of the type can be default constructed.

### [edit] Requirements

The type `T` satisfies `DefaultConstructible` if

Given

- `u`, an arbitrary identifier

The following expressions must be valid and have their specified effects

Expression | Post-conditions
--- | ---
T u | The object `u` is default-initialized
T u{} | The object `u` is value-initialized.
T() T{} | A temporary object of type `T` is value-initialized.

### [edit] See also

is_default_constructible is_trivially_default_constructible is_nothrow_default_constructible (C++11)(C++11)(C++11) | checks if a type has a default constructor (class template) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/concept/DefaultConstructible&oldid=66747"