Click here to Skip to main content
13,252,933 members (50,124 online)
Click here to Skip to main content
Alternatives (1)
Add your own
alternative version

Tagged as


2 bookmarked
Posted 26 Jul 2010

A little "garbage collector" for your project

, 26 Jul 2010
A little class to help you avoid memory leaks


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

1 Aug 2010
Combining a smart pointer with a collection we can get all the functionality that the original author wrote a custom class for, and a bit more:typedef std::vector> garbage_collector;Er, that's it. So how would you use this? Say you wanted to use character arrays as...


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Junior) Space Softwares
Italy Italy
We're born in the 2008. From the 2010, we're working for fun at an FPS opensource project.
This isn't a commercial company, is only a group created for fun by some teens

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.171114.1 | Last Updated 26 Jul 2010
Article Copyright 2010 by SpaceSoft
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid