G
Gernot Frisch
class Base{};
class Obj : public Base{};
std::vector<Base*> vpBase;
Obj o = new Obj();
vpBase.push_back(&o);
// Can I safely do this: ?
delete vpBase[0];
Thank you,
class Obj : public Base{};
std::vector<Base*> vpBase;
Obj o = new Obj();
vpBase.push_back(&o);
// Can I safely do this: ?
delete vpBase[0];
Thank you,