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.
228 // with everyone using the same global allocator.
234 // This STL compatible allocator is intended to be used as the allocator
258 pool_allocator() : allocator(GetGlobalPoolAllocator()) { }
259 pool_allocator(TPoolAllocator& a) : allocator(&a) { }
260 pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { }
264 allocator = p.allocator;
269 pool_allocator(const pool_allocator<Other>& p) : allocator(&p.getAllocator()) { }
301 void setAllocator(TPoolAllocator *a) { allocator = a; }
302 TPoolAllocator& getAllocator() const { return *allocator; }
305 TPoolAllocator *allocator;