Skip to content

Commit cde94b8

Browse files
jensmaurerzygoloid
authored andcommitted
[namespace.udir] Ambiguous lookup results are covered in [basic.lookup]
Relegate a duplicate normative statement in [namespace.udir] to a note and add a cross-reference to [basic.lookup].
1 parent 0ce8ae3 commit cde94b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/declarations.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3238,10 +3238,10 @@
32383238
extending \grammarterm{namespace-definition}.
32393239

32403240
\pnum
3241+
\begin{note}
32413242
If name lookup finds a declaration for a name in two different
32423243
namespaces, and the declarations do not declare the same entity and do
3243-
not declare functions, the use of the name is ill-formed.
3244-
\begin{note}
3244+
not declare functions or function templates, the use of the name is ill-formed\iref{basic.lookup}.
32453245
In particular, the name of a variable, function or enumerator does not
32463246
hide the name of a class or enumeration declared in a different
32473247
namespace. For example,

0 commit comments

Comments
 (0)