Relative Content

Tag Archive for c++templatesinheritance

How to initialize a reference to a template template in C++?

Let a set of classes A1, A2... derived from base class A and another set of template T classes B1<T>, B2<T>... derived from base class B<T>. Besides, consider a template U,V class Wrapper that contains a const reference to an object of type V<U>. Therefore: