Yep, it's not impossible, it just doesn't like my templates.
http://www.vbforums.com/attachment.php?s=&postid=792447
Printable View
Yep, it's not impossible, it just doesn't like my templates.
http://www.vbforums.com/attachment.php?s=&postid=792447
The trick seems to be access to parameterized members of a self typedef, accessing regular members works, and accessing without self typedef works, but M$ hasn't tried out exactly everything. Maybe I should work for them and try to crash all their compilers ;)
PHP Code:struct A{typedef A B;template <class T>struct C{};};
typedef A::B::C<int> D;
A solution to the problem as well...
typedef A::B E;
typedef E::C<int> D;