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
Actually, Clang can't deduce T from B<T::template Nested>* either (demo). So I think all investigated implementations agree with the proposed wording, and the apparent divergence is just due to a bug of Clang.
jensmaurer
changed the title
[temp.deduct.type] Missing non-deduced context for nested-name-specifier of qualified-id of a template
CWG2974 [temp.deduct.type] Missing non-deduced context for nested-name-specifier of qualified-id of a template
Dec 27, 2024
Full name of submitter (unless configured in github; will be published with the issue): Hubert Tong
Reference (section label): temp.deduct.type
Link to reflector thread (if any): N/A
Issue description:
https://wg21.link/temp.deduct.type#5.1 has, as a non-deduced context,
This does not cover templates named using a qualified-id. There is implementation divergence:
Online compiler link: https://godbolt.org/z/8sTvW7W94
Suggested resolution:
Modify https://wg21.link/temp.deduct.type#5.1:
The text was updated successfully, but these errors were encountered: