Click here to Skip to main content
Click here to Skip to main content

How to Delete Pointers in Vector or Map in Single Line?

, 17 Apr 2009 CPOL
If you have two or three STL containers which holds pointers in your class as members, then I’m sure that its destructor will be the worst readable one. For deallocating STL containers, we have to iterate through each container by for loop, then delete it. But is there any single line functio
We're sorry, but the article you are trying to view was deleted at 17 Apr 2009.

Please go to the C# Table of Contents to view the list of available articles in this section.
| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150327.1 | Last Updated 17 Apr 2009
Article Copyright 2009 by Jijo.Raj
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid