i have two classes:
cls1:
cls2:Code:template <typename T> class cls1
{ ... }
and i want to create an object of cls1 of type cls2:Code:class cls2
{ ... }
but it makes my program crashes.Code:cls1 Object<cls2>;
i can create Object this way:
but it's not very good for me.Code:cls1 Object<cls2*>
what makes it crash?