| 336 | template <typename TPool> |
| 337 | struct TPoolableBase { |
| 338 | inline void* operator new(size_t bytes, TPool& pool) { |
| 339 | return pool.Allocate(bytes); |
| 340 | } |
| 341 | |
| 342 | inline void* operator new(size_t bytes, std::align_val_t align, TPool& pool) { |
| 343 | return pool.Allocate(bytes, (size_t)align); |