Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e9fe5a4

Browse filesBrowse files
committed
Abolish the term "converting constructor"
1 parent 08649a5 commit e9fe5a4
Copy full SHA for e9fe5a4

File tree

2 files changed

+3
-7
lines changed
Filter options

2 files changed

+3
-7
lines changed

‎source/classes.tex

Copy file name to clipboardExpand all lines: source/classes.tex
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2347,8 +2347,6 @@
23472347
specifies a conversion from
23482348
the types of its parameters (if any)
23492349
to the type of its class.
2350-
Such a constructor is called a
2351-
\defnadj{converting}{constructor}.
23522350
\begin{example}
23532351
\indextext{Jessie}%
23542352
\begin{codeblock}
@@ -2400,8 +2398,6 @@
24002398
\end{note}
24012399

24022400
\pnum
2403-
A non-explicit copy/move constructor\iref{class.copy.ctor} is
2404-
a converting constructor.
24052401
\begin{note}
24062402
An implicitly-declared copy/move constructor is not an explicit constructor;
24072403
it can be called for implicit type conversions.

‎source/overloading.tex

Copy file name to clipboardExpand all lines: source/overloading.tex
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@
10071007
initialized.
10081008
For copy-initialization (including default initialization
10091009
in the context of copy-initialization), the candidate functions are all
1010-
the converting constructors\iref{class.conv.ctor} of that
1010+
the non-explicit constructors\iref{class.conv.ctor} of that
10111011
class.
10121012
The argument list is the
10131013
\grammarterm{expression-list} or \grammarterm{assignment-expression}
@@ -1036,7 +1036,7 @@
10361036

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.