V
Vincenzo Cappello
I need a map that contain different object of the same base class like:
std::map< int, base_class* >
someone tell me is no correct using pointer in containers so i change to:
std::map< int, std::auto_ptr< base_class > >
someone tell me is no correct using auto_ptr in containers...
someone can tell me the right way?
std::map< int, base_class* >
someone tell me is no correct using pointer in containers so i change to:
std::map< int, std::auto_ptr< base_class > >
someone tell me is no correct using auto_ptr in containers...
someone can tell me the right way?