Implemented foundation::TempAllocator.