The old libg++ library had a class called Obstack, which implemented multiple LIFO storage arenas. I have found it invaluable, and brought it forward into the STL age.
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×