1 2 3 4 5 6 7 8
template<typename T> class Foo { public: template<typename U> struct Bar { typedef Foo<U> FooU; }; };