User profile: Christian99

User info
User name:Christian99
History
Joined:
Number of posts:15
Latest posts:

how to pass object to a class which stores it in a container as unique_pointer
Hey, 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_pointer
yes 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_pointer
C::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

User: Christian99

  • Public profile