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 now on IFTTT. Check it out! Check out the new SourceForge HTML5 Internet speed test! ×