From 1bcf2cdc924317f94065cadbca91af567e323add Mon Sep 17 00:00:00 2001 From: lprv <100177227+lprv@users.noreply.github.com> Date: Thu, 11 Dec 2025 14:11:05 +0000 Subject: [PATCH] [basic.lookup.general] Clarify that type-only lookup can find aliases Clarify that type-only lookup can find type aliases. --- source/basic.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/basic.tex b/source/basic.tex index c1e655f8bf..8dd6d90b89 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -1731,11 +1731,11 @@ \indextext{type-only!lookup|see{lookup, type-only}}% However, if a lookup is \defnx{type-only}{lookup!type-only}, only declarations of -types and templates whose specializations are types are considered; +types, type aliases, and templates whose specializations are such are considered; furthermore, if declarations of a type alias and of its underlying entity are found, -the declaration of the type alias is discarded -instead of the type declaration. +declarations of the type alias are discarded +instead of the type declarations. \rSec2[class.member.lookup]{Member name lookup}% \indextext{lookup!member name}%