Posts by user17467 • 31 points
1 post
-
3
votes1
answer1169
viewsQ: How to create an object with class template?
I have this code: Main.cpp Warehouse<Base<int>> arm(1, 1, 1, 1); arm.createSubBase(1,1,1); Warehouse. h private: vector<Base<T>*> whouse; public : void createSubBase(int,…