DefaultConstructible
C++ concepts: DefaultConstructible
Specifies that an instance of the type can be default constructed.
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 or 登录查看完整内容
|