🎄T
Size: a a a
🎄T
AB
bc
VS
VS
VS
IS
IS
bc
A
template <class>
struct A {};
template <class T> // На самом деле Т может быть только A<U>, и ничем другим
struct B {};
VS
template <class>
struct A {};
template <class T> // На самом деле Т может быть только A<U>, и ничем другим
struct B {};
🎄T
VS
🎄T
template <class>
struct A {};
template <class T> // На самом деле Т может быть только A<U>, и ничем другим
struct B {};
template<class A>
struct B;
template<class U>
struct B<A<U>>{};
A
MS