could someone explain why... (constructors and dynamic memory)
You might find it easier and faster to put pointers to your objects into the STL containers. Then you don''t have to worry about copy constructors and the sort. Of course, it''s good practice to have copy constructors anyways.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement