Lines Matching refs:allocator
28 template <class _Tp> class allocator; variable
34 class _LIBCPP_TEMPLATE_VIS allocator<void>
42 template <class _Up> struct _LIBCPP_DEPRECATED_IN_CXX17 rebind {typedef allocator<_Up> other;};
47 class _LIBCPP_TEMPLATE_VIS allocator<const void>
55 template <class _Up> struct _LIBCPP_DEPRECATED_IN_CXX17 rebind {typedef allocator<_Up> other;};
87 class _LIBCPP_TEMPLATE_VIS allocator
88 : private __non_trivial_if<!is_void<_Tp>::value, allocator<_Tp> >
99 allocator() _NOEXCEPT = default;
103 allocator(const allocator<_Up>&) _NOEXCEPT { }
107 if (__n > allocator_traits<allocator>::max_size(*this))
141 typedef allocator<_Up> other;
176 class _LIBCPP_TEMPLATE_VIS allocator<const _Tp>
177 : private __non_trivial_if<!is_void<_Tp>::value, allocator<const _Tp> >
188 allocator() _NOEXCEPT = default;
192 allocator(const allocator<_Up>&) _NOEXCEPT { }
196 if (__n > allocator_traits<allocator>::max_size(*this))
230 typedef allocator<_Up> other;
262 bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;}
266 bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;}