Lines Matching refs:T
40 template <typename T>
43 template <typename T>
44 using ScopedArenaDeque = std::deque<T, ScopedArenaAllocatorAdapter<T>>;
46 template <typename T>
47 using ScopedArenaQueue = std::queue<T, ScopedArenaDeque<T>>;
49 template <typename T>
50 using ScopedArenaVector = std::vector<T, ScopedArenaAllocatorAdapter<T>>;
52 template <typename T, typename Comparator = std::less<T>>
53 using ScopedArenaSet = std::set<T, Comparator, ScopedArenaAllocatorAdapter<T>>;
105 template <typename T>
110 typedef T value_type;
111 typedef T* pointer;
112 typedef T& reference;
113 typedef const T* const_pointer;
114 typedef const T& const_reference;
142 return static_cast<size_type>(-1) / sizeof(T); in max_size()
152 return reinterpret_cast<T*>(arena_stack_->Alloc(n * sizeof(T),
181 template <typename T>
182 inline bool operator==(const ScopedArenaAllocatorAdapter<T>& lhs,
183 const ScopedArenaAllocatorAdapter<T>& rhs) {
187 template <typename T>
188 inline bool operator!=(const ScopedArenaAllocatorAdapter<T>& lhs,
189 const ScopedArenaAllocatorAdapter<T>& rhs) {