Skip to content

Commit 135ba0d

Browse files
jensmaurertkoeppe
authored andcommitted
P3542R0 Abolish the term "converting constructor"
Editorial note: The wording in the paper refers to the state prior to editorial commit 55a58f9, and supersedes it.
1 parent b88607d commit 135ba0d

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

source/classes.tex

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2315,8 +2315,6 @@
23152315
specifies a conversion from
23162316
the types of its parameters (if any)
23172317
to the type of its class.
2318-
Such a constructor is called a
2319-
\defnadj{converting}{constructor}.
23202318
\begin{example}
23212319
\indextext{Jessie}%
23222320
\begin{codeblock}
@@ -2367,13 +2365,6 @@
23672365
\end{example}
23682366
\end{note}
23692367

2370-
\pnum
2371-
\begin{note}
2372-
A non-explicit copy/move constructor\iref{class.copy.ctor},
2373-
including one implicitly declared,
2374-
is a converting constructor.
2375-
\end{note}
2376-
23772368
\rSec3[class.conv.fct]{Conversion functions}%
23782369
\indextext{function!conversion}%
23792370
\indextext{fundamental type conversion|see{conversion, user-defined}}%

source/overloading.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@
10061006
all the constructors of the class of the object being
10071007
initialized.
10081008
Otherwise, the candidate functions are all
1009-
the converting constructors\iref{class.conv.ctor} of that
1009+
the non-explicit constructors\iref{class.conv.ctor} of that
10101010
class.
10111011
The argument list is the
10121012
\grammarterm{expression-list} or \grammarterm{assignment-expression}
@@ -1037,7 +1037,7 @@
10371037

10381038
\begin{itemize}
10391039
\item
1040-
The converting constructors\iref{class.conv.ctor} of
1040+
The non-explicit constructors\iref{class.conv.ctor} of
10411041
\tcode{T}
10421042
are candidate functions.
10431043
\item
@@ -1173,7 +1173,7 @@
11731173
chosen, the initialization is ill-formed.
11741174
\begin{note}
11751175
This differs from other situations\iref{over.match.ctor,over.match.copy},
1176-
where only converting constructors are considered for copy-initialization.
1176+
where only non-explicit constructors are considered for copy-initialization.
11771177
This restriction only
11781178
applies if this initialization is part of the final result of overload
11791179
resolution.

0 commit comments

Comments
 (0)