Skip to content

Commit 54b0561

Browse files
[basic.lookup.unqual] Clarify conversion-function-id components lookup
1 parent b34b337 commit 54b0561

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source/basic.tex

+6-5
Original file line numberDiff line numberDiff line change
@@ -1777,12 +1777,13 @@
17771777
such a name undergoes unqualified name lookup from the point where it appears.
17781778

17791779
\pnum
1780-
An unqualified name that is a component name\iref{expr.prim.id.unqual} of
1780+
If a \grammarterm{conversion-function-id} is a qualified name
1781+
with lookup context $S$\iref{basic.lookup.qual},
1782+
an unqualified name $U$ that is a component name\iref{expr.prim.id.unqual} of
17811783
a \grammarterm{type-specifier} or \grammarterm{ptr-operator} of
1782-
a \grammarterm{conversion-type-id} is looked up in the same fashion
1783-
as the \grammarterm{conversion-function-id} in which it appears.
1784-
If that lookup finds nothing, it undergoes unqualified name lookup;
1785-
in each case, only names
1784+
its \grammarterm{conversion-type-id} is looked up in $S$;
1785+
otherwise, or if that lookup finds nothing, $U$ undergoes unqualified name lookup.
1786+
In each case, only names
17861787
that denote types or templates whose specializations are types are considered.
17871788
\begin{example}
17881789
\begin{codeblock}

0 commit comments

Comments
 (0)