Lines Matching refs:T
68 template <typename Allocator, typename T, typename Tag = void>
75 typedef T* pointer;
76 typedef const T* const_pointer;
77 typedef T& reference;
78 typedef const T& const_reference;
79 typedef T value_type;
87 …{ return static_cast<T*>(StdAllocatorAdapterHolder<Allocator, Tag>::GetAllocator()->Allocate(n * s…
89 … size_type max_size() const throw() { return ::std::numeric_limits<size_type>::max() / sizeof(T); } in max_size()
90 void construct(pointer p, const T& val) { new (static_cast<void*>(p)) T(val); } in construct()
91 void destroy(pointer p) { p->~T(); } in destroy()
95 template <typename Allocator, typename T, typename Tag = void>
105 typedef T* pointer;
106 typedef const T* const_pointer;
107 typedef T& reference;
108 typedef const T& const_reference;
109 typedef T value_type;
117 …ize_type n, void* = 0) { return static_cast<T*>(s_Allocator->Allocate(n * sizeof(T), nn::util::ali…
119 … size_type max_size() const throw() { return ::std::numeric_limits<size_type>::max() / sizeof(T); } in max_size()
120 void construct(pointer p, const T& val) { new (static_cast<void*>(p)) T(val); } in construct()
121 void destroy(pointer p) { p->~T(); } in destroy()
130 template <typename Allocator, typename T, typename Tag>
131 Allocator StdUnitAllocatorAdapter<Allocator, T, Tag>::s_Allocator;