Simple c++ allocation pool system with easy and flexible implementation in existing code