how to pass object to a class which stores it in a container as unique_pointerHey, thanks. That one seems nice!
how to pass object to a class which stores it in a container as unique_pointer[code]#include <vector> #include <memory> class A { virtual void a()=0; }; class B : public A { virt...
how to pass object to a class which stores it in a container as unique_pointeryes of course, but this is the "user" part and you'll never know what the user does. So Is there a w...
how to pass object to a class which stores it in a container as unique_pointerC::data is private, I just left it out in the example. But i can still write in main: [code] int mai...
how to pass object to a class which stores it in a container as unique_pointer[code] class A (abstract) class B : A class C { void add ( A(&*?) a ) std::vector<std::uniqu...
This user does not accept Private Messages