1 2 3 4 5 6 7 8 9 10
template <class a> class b { typedef a td; using ta = a; struct foo { a foo : sizeof(a); a : sizeof(a); td : sizeof(td); ta : sizeof(ta); }; };