File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 6512
6512
(i.e., explicitly defaulted after its first declaration)
6513
6513
is implicitly defined at the point where it is explicitly defaulted; if such a function is implicitly
6514
6514
defined as deleted, the program is ill-formed.
6515
+ \begin {note }
6516
+ Declaring a function as defaulted after its first declaration
6517
+ can provide efficient execution and concise definition
6518
+ while enabling a stable binary interface to an evolving code base.
6519
+ \end {note }
6515
6520
A non-user-provided defaulted function
6516
6521
(i.e., implicitly declared or explicitly defaulted in the class)
6517
6522
that is not defined as deleted is implicitly defined when it is odr-used\iref {basic.def.odr }
6518
6523
or needed for constant evaluation\iref {expr.const }.
6519
6524
\begin {note }
6520
- Declaring a function as defaulted after its first declaration can provide
6521
- efficient execution and concise
6522
- definition while enabling a stable binary interface to an evolving code
6523
- base.
6525
+ The implicit definition of a non-user-provided defaulted function
6526
+ does not bind any names.
6524
6527
\end {note }
6525
6528
6526
6529
\pnum
You can’t perform that action at this time.
0 commit comments