C++ MemPool for real-time systems