Lines Matching refs:T
41 template <typename T>
44 template <typename T>
45 using ArenaDeque = std::deque<T, ArenaAllocatorAdapter<T>>;
47 template <typename T>
48 using ArenaQueue = std::queue<T, ArenaDeque<T>>;
50 template <typename T>
51 using ArenaVector = std::vector<T, ArenaAllocatorAdapter<T>>;
53 template <typename T, typename Comparator = std::less<T>>
54 using ArenaSet = std::set<T, Comparator, ArenaAllocatorAdapter<T>>;
123 template <typename T>
126 typedef T value_type;
127 typedef T* pointer;
128 typedef T& reference;
129 typedef const T* const_pointer;
130 typedef const T& const_reference;
155 return static_cast<size_type>(-1) / sizeof(T); in max_size()
163 return reinterpret_cast<T*>(arena_allocator_->Alloc(n * sizeof(T),
187 template <typename T>
188 inline bool operator==(const ArenaAllocatorAdapter<T>& lhs,
189 const ArenaAllocatorAdapter<T>& rhs) {
193 template <typename T>
194 inline bool operator!=(const ArenaAllocatorAdapter<T>& lhs,
195 const ArenaAllocatorAdapter<T>& rhs) {