Lines Matching refs:allocator
23 // This header defines an allocator that can be used to efficiently
35 // Individual classes can use this allocator by supplying their own
38 // STL containers can use this allocator by using the pool_allocator
39 // class as the allocator (second) template argument.
234 // with everyone using the same global allocator.
240 // This STL compatible allocator is intended to be used as the allocator
264 pool_allocator() : allocator(GetGlobalPoolAllocator()) { }
265 pool_allocator(TPoolAllocator& a) : allocator(&a) { }
266 pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { }
270 allocator = p.allocator;
275 pool_allocator(const pool_allocator<Other>& p) : allocator(&p.getAllocator()) { }
307 void setAllocator(TPoolAllocator *a) { allocator = a; }
308 TPoolAllocator& getAllocator() const { return *allocator; }
311 TPoolAllocator *allocator;