Home | History | Annotate | Download | only in compiler

Lines Matching refs:pool_allocator

38 // STL containers can use this allocator by using the pool_allocator
241 class pool_allocator {
253 typedef pool_allocator<Other> other;
258 pool_allocator() : allocator(GetGlobalPoolAllocator()) { }
259 pool_allocator(TPoolAllocator& a) : allocator(&a) { }
260 pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { }
263 pool_allocator<T>& operator=(const pool_allocator<Other>& p) {
269 pool_allocator(const pool_allocator<Other>& p) : allocator(&p.getAllocator()) { }
295 bool operator==(const pool_allocator& rhs) const { return &getAllocator() == &rhs.getAllocator(); }
296 bool operator!=(const pool_allocator& rhs) const { return &getAllocator() != &rhs.getAllocator(); }