Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 01 Feb 2006
Offline Last Active May 14 2014 01:41 PM

#4939078 Cleaning up a vector of pointers?

Posted by on 10 May 2012 - 12:37 PM

If you want to avoid manual deletion of the pointers you could use a vector of smart pointers instead of raw pointers. C++11 offers you std::shared_ptr.