Skip to content

Commit 7523033

Browse files
jensmaurerzygoloid
authored andcommitted
[over.match] 'underlying type' for a reference is undefined (#1013)
Fixes #391.
1 parent 5ee7f40 commit 7523033

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/overloading.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,8 +1323,8 @@
13231323
function to an initializer expression.
13241324
Overload resolution is used to select the
13251325
conversion function to be invoked.
1326-
Assuming that ``\textit{cv1} \tcode{T}'' is the
1327-
underlying type of the reference being initialized, and
1326+
Assuming that ``reference to \textit{cv1} \tcode{T}'' is the
1327+
type of the reference being initialized, and
13281328
``\textit{cv} \tcode{S}'' is the type
13291329
of the initializer expression, with
13301330
\tcode{S}
@@ -2071,9 +2071,9 @@
20712071
\pnum
20722072
When a parameter of reference type is not bound directly to an argument
20732073
expression, the conversion sequence is the one required to convert the argument
2074-
expression to the underlying type of the reference according to~\ref{over.best.ics}.
2074+
expression to the referenced type according to~\ref{over.best.ics}.
20752075
Conceptually, this conversion sequence corresponds to copy-initializing a
2076-
temporary of the underlying type with the argument expression.
2076+
temporary of the referenced type with the argument expression.
20772077
Any difference
20782078
in top-level cv-qualification is subsumed by the initialization itself and
20792079
does not constitute a conversion.
@@ -2130,7 +2130,7 @@
21302130
\pnum
21312131
Otherwise, if the parameter type is a character array%
21322132
\footnote{Since there are no parameters of array type,
2133-
this will only occur as the underlying type of a reference parameter.}
2133+
this will only occur as the referenced type of a reference parameter.}
21342134
and the initializer list has a single element that is an appropriately-typed
21352135
string literal~(\ref{dcl.init.string}), the implicit conversion
21362136
sequence is the identity conversion.

0 commit comments

Comments
 (0)