|
Adobe Source Libraries 2.0.0
A collection of C++ libraries.
|
X | A type that is a model of DefaultConstructible |
x | An object of type X |
| Name | Expression | Type requirements | Return type |
|---|---|---|---|
| Default constructor | X() | X | |
| Default constructor | X x; [1] |
| Name | Expression | Precondition | Semantics | Postcondition |
|---|---|---|---|---|
| Default constructor | X() | |||
| Default constructor | X x; |
X x = X() is not guaranteed to be a valid expression, because it uses a copy constructor. A type that is DefaultConstructible is not necessarily Assignable