You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ChuanqiXu9
changed the title
Clang will ignore using declarations from qualified names when handling declarators
Clang will ignore using declarations from qualified name lookups when handling declarators
Apr 17, 2023
Search is a single search, because lib is not a class or class template (class.member.lookup/1).
Single search finds all declarations in lib that precede the point where test appears, taking into account using declarations whose terminal name is not dependent (basic.lookup.general/3).
Name test on line 6 is not dependent (temp.dep.type/5), which means it should be found.
Most of this wording comes from P1787R6. I hope this helps!
See https://godbolt.org/z/8eef5nsEs and the text form is:
GCC will accept this but Clang will reject this.
The text was updated successfully, but these errors were encountered: