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
The text currently renders this ill-formed, because "c.U" in the context of the postfix expression doesn't find 'U' as a class-template, but alias template:
struct C { typedef C type; int dummy; };
template<typename>
using U = C;
int main() {
C c;
c.U<void>::dummy = 0;
}
GCC and Clang implement the obvious, so I suspect this can be fixed editorially (stealing the wording used for "only-templates-that-yield-types::something" lookup).