You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit be6d0b1
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: source/classes.tex
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2479,17 +2479,16 @@
2479
2479
returning \grammarterm{conversion-type-id}''.
2480
2480
2481
2481
\pnum
2482
-
A conversion function is never used to convert a (possibly cv-qualified) object
2483
-
to the (possibly cv-qualified) same object type (or a reference to it),
2484
-
to a (possibly cv-qualified) base class of that type (or a reference to it),
2482
+
\begin{note}
2483
+
A conversion function is never invoked for
2484
+
implicit or explicit conversions of an object
2485
+
to the same object type (or a reference to it),
2486
+
to a base class of that type (or a reference to it),
2485
2487
or to \cv{}~\keyword{void}.
2486
-
\begin{footnote}
2487
-
These conversions are considered
2488
-
as standard conversions for the purposes of overload resolution\iref{over.best.ics,over.ics.ref} and therefore initialization\iref{dcl.init} and explicit casts\iref{expr.static.cast}. A conversion to \keyword{void} does not invoke any conversion function\iref{expr.static.cast}.
2489
2488
Even though never directly called to perform a conversion,
2490
2489
such conversion functions can be declared and can potentially
2491
2490
be reached through a call to a virtual conversion function in a base class.
0 commit comments