MSVC 2008 will not compile this code:
template <class Derived> struct B { typename Derived::type t; }; struct D : B<D> { typedef int type; }; void main() { D d; }
The error I am getting is βerror C2039:β type β: is not a member ofβ D. βAny ideas?
kefex
source share