We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ce8ae3 commit cde94b8Copy full SHA for cde94b8
source/declarations.tex
@@ -3238,10 +3238,10 @@
3238
extending \grammarterm{namespace-definition}.
3239
3240
\pnum
3241
+\begin{note}
3242
If name lookup finds a declaration for a name in two different
3243
namespaces, and the declarations do not declare the same entity and do
-not declare functions, the use of the name is ill-formed.
3244
-\begin{note}
+not declare functions or function templates, the use of the name is ill-formed\iref{basic.lookup}.
3245
In particular, the name of a variable, function or enumerator does not
3246
hide the name of a class or enumeration declared in a different
3247
namespace. For example,
0 commit comments