Lines Matching refs:T
70 template <typename Allocator, typename T, typename Tag = void>
77 typedef T* pointer;
78 typedef const T* const_pointer;
79 typedef T& reference;
80 typedef const T& const_reference;
81 typedef T value_type;
89 …{ return static_cast<T*>(StdAllocatorAdapterHolder<Allocator, Tag>::GetAllocator()->Allocate(n * s…
91 … size_type max_size() const throw() { return ::std::numeric_limits<size_type>::max() / sizeof(T); } in max_size()
92 void construct(pointer p, const T& val) { new (static_cast<void*>(p)) T(val); } in construct()
93 void destroy(pointer p) { p->~T(); } in destroy()
97 template <typename Allocator, typename T, typename Tag = void>
107 typedef T* pointer;
108 typedef const T* const_pointer;
109 typedef T& reference;
110 typedef const T& const_reference;
111 typedef T value_type;
119 …ize_type n, void* = 0) { return static_cast<T*>(s_Allocator->Allocate(n * sizeof(T), nn::util::ali…
121 … size_type max_size() const throw() { return ::std::numeric_limits<size_type>::max() / sizeof(T); } in max_size()
122 void construct(pointer p, const T& val) { new (static_cast<void*>(p)) T(val); } in construct()
123 void destroy(pointer p) { p->~T(); } in destroy()
132 template <typename Allocator, typename T, typename Tag>
133 Allocator StdUnitAllocatorAdapter<Allocator, T, Tag>::s_Allocator;