Skip to content

Commit 1bcf2cd

Browse files
committed
[basic.lookup.general] Clarify that type-only lookup can find aliases
Clarify that type-only lookup can find type aliases.
1 parent 0bb9778 commit 1bcf2cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/basic.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,11 +1731,11 @@
17311731
\indextext{type-only!lookup|see{lookup, type-only}}%
17321732
However, if a lookup is \defnx{type-only}{lookup!type-only},
17331733
only declarations of
1734-
types and templates whose specializations are types are considered;
1734+
types, type aliases, and templates whose specializations are such are considered;
17351735
furthermore, if declarations
17361736
of a type alias and of its underlying entity are found,
1737-
the declaration of the type alias is discarded
1738-
instead of the type declaration.
1737+
declarations of the type alias are discarded
1738+
instead of the type declarations.
17391739

17401740
\rSec2[class.member.lookup]{Member name lookup}%
17411741
\indextext{lookup!member name}%

0 commit comments

Comments
 (0)