Home | History | Annotate | Download | only in libmemunreachable

Lines Matching refs:allocator

38 class Allocator;
100 // STLAllocator implements the std allocator interface on top of a Heap
141 // Allocator extends STLAllocator with some convenience methods for allocating
145 class Allocator : public STLAllocator<T> {
147 ~Allocator() {}
149 Allocator(const Heap& other)
154 Allocator(const STLAllocator<U>& other)
158 Allocator(const Allocator&) = default;
159 Allocator<T>& operator=(const Allocator<T>&) = default;
185 // Allocator<T> to shared_ptr.
188 return std::allocate_shared<T, Allocator<T>, Args...>(Allocator<T>(*this),
192 namespace allocator {
195 using vector = std::vector<T, Allocator<T>>;
198 using list = std::list<T, Allocator<T>>;
201 using map = std::map<Key, T, Compare, Allocator<std::pair<const Key, T>>>;
205 std::unordered_map<Key, T, Hash, KeyEqual, Allocator<std::pair<const Key, T>>>;
208 using unordered_set = std::unordered_set<Key, Hash, KeyEqual, Allocator<Key>>;
211 using set = std::set<Key, Compare, Allocator<Key>>;
213 using string = std::basic_string<char, std::char_traits<char>, Allocator<char>>;