Lines Matching refs:STLAllocator
102 class STLAllocator {
105 ~STLAllocator() {} in ~STLAllocator()
108 STLAllocator(const Heap& heap) in STLAllocator() function
114 STLAllocator(const STLAllocator<U>& other) in STLAllocator() function
118 STLAllocator(const STLAllocator&) = default;
119 STLAllocator<T>& operator=(const STLAllocator<T>&) = default;
126 bool operator==(const STLAllocator<U>& other) const {
130 inline bool operator!=(const STLAllocator<U>& other) const {
135 friend class STLAllocator; variable
145 class Allocator : public STLAllocator<T> {
151 STLAllocator<T>(other) {} in Allocator()
154 Allocator(const STLAllocator<U>& other) in Allocator()
156 STLAllocator<T>(other) {} in Allocator()
161 using STLAllocator<T>::allocate;
162 using STLAllocator<T>::deallocate;
163 using STLAllocator<T>::heap_;
165 T* allocate() { return STLAllocator<T>::allocate(1); } in allocate()