Lines Matching refs:T
73 template <typename Allocator, typename T, typename Tag = void>
80 typedef T* pointer;
81 typedef const T* const_pointer;
82 typedef T& reference;
83 typedef const T& const_reference;
84 typedef T value_type;
92 …{ return static_cast<T*>(StdAllocatorAdapterHolder<Allocator, Tag>::GetAllocator()->Allocate(n * s…
94 … size_type max_size() const throw() { return ::std::numeric_limits<size_type>::max() / sizeof(T); } in max_size()
95 void construct(pointer p, const T& val) { new (static_cast<void*>(p)) T(val); } in construct()
96 void destroy(pointer p) { p->~T(); } in destroy()
100 template <typename Allocator, typename T, typename Tag = void>
110 typedef T* pointer;
111 typedef const T* const_pointer;
112 typedef T& reference;
113 typedef const T& const_reference;
114 typedef T value_type;
122 …ize_type n, void* = 0) { return static_cast<T*>(s_Allocator->Allocate(n * sizeof(T), nn::util::ali…
124 … size_type max_size() const throw() { return ::std::numeric_limits<size_type>::max() / sizeof(T); } in max_size()
125 void construct(pointer p, const T& val) { new (static_cast<void*>(p)) T(val); } in construct()
126 void destroy(pointer p) { p->~T(); } in destroy()
135 template <typename Allocator, typename T, typename Tag>
136 Allocator StdUnitAllocatorAdapter<Allocator, T, Tag>::s_Allocator;