tmp/tmpxcv02vl4/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
## Implicit declaration of copy functions <a id="depr.impldec">[[depr.impldec]]</a>
|
| 2 |
|
| 3 |
-
The implicit definition of a copy constructor
|
| 4 |
-
if the class has a user-declared copy assignment
|
| 5 |
-
user-declared destructor. The implicit
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
these implicit definitions could become deleted
|
|
|
|
| 10 |
|
|
|
|
| 1 |
## Implicit declaration of copy functions <a id="depr.impldec">[[depr.impldec]]</a>
|
| 2 |
|
| 3 |
+
The implicit definition of a copy constructor [[class.copy.ctor]] as
|
| 4 |
+
defaulted is deprecated if the class has a user-declared copy assignment
|
| 5 |
+
operator or a user-declared destructor [[class.dtor]]. The implicit
|
| 6 |
+
definition of a copy assignment operator [[class.copy.assign]] as
|
| 7 |
+
defaulted is deprecated if the class has a user-declared copy
|
| 8 |
+
constructor or a user-declared destructor. In a future revision of this
|
| 9 |
+
International Standard, these implicit definitions could become deleted
|
| 10 |
+
[[dcl.fct.def.delete]].
|
| 11 |
|