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

Abolish the term "converting constructor" #6743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
Loading
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions 4 source/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2347,8 +2347,6 @@
specifies a conversion from
the types of its parameters (if any)
to the type of its class.
Such a constructor is called a
\defnadj{converting}{constructor}.
\begin{example}
\indextext{Jessie}%
\begin{codeblock}
Expand Down Expand Up @@ -2400,8 +2398,6 @@
\end{note}

\pnum
A non-explicit copy/move constructor\iref{class.copy.ctor} is
a converting constructor.
\begin{note}
An implicitly-declared copy/move constructor is not an explicit constructor;
it can be called for implicit type conversions.
Expand Down
6 changes: 3 additions & 3 deletions 6 source/overloading.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@
initialized.
For copy-initialization (including default initialization
in the context of copy-initialization), the candidate functions are all
the converting constructors\iref{class.conv.ctor} of that
the non-explicit constructors\iref{class.conv.ctor} of that
class.
The argument list is the
\grammarterm{expression-list} or \grammarterm{assignment-expression}
Expand Down Expand Up @@ -1036,7 +1036,7 @@

\begin{itemize}
\item
The converting constructors\iref{class.conv.ctor} of
The non-explicit constructors\iref{class.conv.ctor} of
\tcode{T}
are candidate functions.
\item
Expand Down Expand Up @@ -1172,7 +1172,7 @@
chosen, the initialization is ill-formed.
\begin{note}
This differs from other situations\iref{over.match.ctor,over.match.copy},
where only converting constructors are considered for copy-initialization.
where only non-explicit constructors are considered for copy-initialization.
This restriction only
applies if this initialization is part of the final result of overload
resolution.
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.