A
Alex Snast
hello
I'm trying to implement a copy constructor for a vector of pointers to
a base class (which is abstract)
My question is how would i know what kind of new type should i
allocate since the base poiner can have multipull meanings.
i know i can use dynamic_cast however i really don't like this
solution and i was wondering is i can do something better
thanks
I'm trying to implement a copy constructor for a vector of pointers to
a base class (which is abstract)
My question is how would i know what kind of new type should i
allocate since the base poiner can have multipull meanings.
i know i can use dynamic_cast however i really don't like this
solution and i was wondering is i can do something better
thanks