tmp/tmp3eztw7q7/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### General <a id="class.init.general">[[class.init.general]]</a>
|
| 2 |
+
|
| 3 |
+
When no initializer is specified for an object of (possibly
|
| 4 |
+
cv-qualified) class type (or array thereof), or the initializer has the
|
| 5 |
+
form `()`, the object is initialized as specified in [[dcl.init]].
|
| 6 |
+
|
| 7 |
+
An object of class type (or array thereof) can be explicitly
|
| 8 |
+
initialized; see [[class.expl.init]] and [[class.base.init]].
|
| 9 |
+
|
| 10 |
+
When an array of class objects is initialized (either explicitly or
|
| 11 |
+
implicitly) and the elements are initialized by constructor, the
|
| 12 |
+
constructor shall be called for each element of the array, following the
|
| 13 |
+
subscript order; see [[dcl.array]].
|
| 14 |
+
|
| 15 |
+
[*Note 1*: Destructors for the array elements are called in reverse
|
| 16 |
+
order of their construction. — *end note*]
|
| 17 |
+
|