Circular reference of templates in C++

  c++, templates

Consider something like this in C#:

class C<T> {}
class D : C<E> {}
class E : C<D> {}

Is an equivalent construction possible in C++ using templates?

Source: Windows Questions C++

LEAVE A COMMENT