https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122192

--- Comment #9 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Ah so a type-only context does not imply type-only lookup. Specifically a
typename-specifier does not do type-only lookup. I think both
elaborated-type-specifier and base-specifier are type-only contexts in which
lookup is type-only though (are there others?). So it seems GCC gets things
largely right, except for base-specifiers.

Reply via email to