Lines Matching refs:allocator
31 template <class _Tp> class allocator; variable
37 class _LIBCPP_TEMPLATE_VIS allocator<void>
45 template <class _Up> struct _LIBCPP_DEPRECATED_IN_CXX17 rebind {typedef allocator<_Up> other;};
50 class _LIBCPP_TEMPLATE_VIS allocator<const void>
58 template <class _Up> struct _LIBCPP_DEPRECATED_IN_CXX17 rebind {typedef allocator<_Up> other;};
90 class _LIBCPP_TEMPLATE_VIS allocator
91 : private __non_trivial_if<!is_void<_Tp>::value, allocator<_Tp> >
102 allocator() _NOEXCEPT = default;
106 allocator(const allocator<_Up>&) _NOEXCEPT { }
110 if (__n > allocator_traits<allocator>::max_size(*this))
144 typedef allocator<_Up> other;
179 class _LIBCPP_TEMPLATE_VIS allocator<const _Tp>
180 : private __non_trivial_if<!is_void<_Tp>::value, allocator<const _Tp> >
191 allocator() _NOEXCEPT = default;
195 allocator(const allocator<_Up>&) _NOEXCEPT { }
199 if (__n > allocator_traits<allocator>::max_size(*this))
233 typedef allocator<_Up> other;
265 bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;}
269 bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;}