Lines Matching refs:allocator
30 template <class _Tp> class allocator; variable
34 class _LIBCPP_TEMPLATE_VIS allocator<void>
41 template <class _Up> struct _LIBCPP_DEPRECATED_IN_CXX17 rebind {typedef allocator<_Up> other;};
45 class _LIBCPP_TEMPLATE_VIS allocator<const void>
52 template <class _Up> struct _LIBCPP_DEPRECATED_IN_CXX17 rebind {typedef allocator<_Up> other;};
83 class _LIBCPP_TEMPLATE_VIS allocator
84 : private __non_trivial_if<!is_void<_Tp>::value, allocator<_Tp> >
94 allocator() _NOEXCEPT _LIBCPP_DEFAULT
98 allocator(const allocator<_Up>&) _NOEXCEPT { }
102 if (__n > allocator_traits<allocator>::max_size(*this))
130 typedef allocator<_Up> other;
165 class _LIBCPP_TEMPLATE_VIS allocator<const _Tp>
166 : private __non_trivial_if<!is_void<_Tp>::value, allocator<const _Tp> >
176 allocator() _NOEXCEPT _LIBCPP_DEFAULT
180 allocator(const allocator<_Up>&) _NOEXCEPT { }
184 if (__n > allocator_traits<allocator>::max_size(*this))
212 typedef allocator<_Up> other;
244 bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;}
248 bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;}