tmp/tmpb56dbvfd/{from.md → to.md}
RENAMED
|
@@ -1,13 +1,14 @@
|
|
| 1 |
#### Initialization by constructor <a id="over.match.ctor">[[over.match.ctor]]</a>
|
| 2 |
|
| 3 |
-
When objects of class type are direct-initialized
|
| 4 |
-
copy-initialized from an expression of the same or a derived class
|
| 5 |
-
|
| 6 |
-
|
| 7 |
default-initialization that is not in the context of
|
| 8 |
copy-initialization, the candidate functions are all the constructors of
|
| 9 |
-
the class of the object being initialized. For copy-initialization
|
| 10 |
-
|
| 11 |
-
|
|
|
|
| 12 |
*expression-list* or *assignment-expression* of the *initializer*.
|
| 13 |
|
|
|
|
| 1 |
#### Initialization by constructor <a id="over.match.ctor">[[over.match.ctor]]</a>
|
| 2 |
|
| 3 |
+
When objects of class type are direct-initialized [[dcl.init]],
|
| 4 |
+
copy-initialized from an expression of the same or a derived class type
|
| 5 |
+
[[dcl.init]], or default-initialized [[dcl.init]], overload resolution
|
| 6 |
+
selects the constructor. For direct-initialization or
|
| 7 |
default-initialization that is not in the context of
|
| 8 |
copy-initialization, the candidate functions are all the constructors of
|
| 9 |
+
the class of the object being initialized. For copy-initialization
|
| 10 |
+
(including default initialization in the context of
|
| 11 |
+
copy-initialization), the candidate functions are all the converting
|
| 12 |
+
constructors [[class.conv.ctor]] of that class. The argument list is the
|
| 13 |
*expression-list* or *assignment-expression* of the *initializer*.
|
| 14 |
|