Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
1. A little "garbage collector" for your project
Updated: 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...
C++
|
|
|
|
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