Lines Matching refs:allocator

93     // The lock needs to be initialized by constructing an allocator
134 // Malloc-based allocator. Typically slower than default alloc below.
243 // NDEBUG, but it's far better to just use the underlying allocator
292 // Default node allocator.
308 // may use this allocator. It is safe to allocate an object from
314 // Node that containers built on different allocator instances have
733 class allocator {
734 typedef alloc _Alloc; // The underlying allocator.
745 typedef allocator<_Tp1> other;
748 allocator() __STL_NOTHROW {}
749 allocator(const allocator&) __STL_NOTHROW {}
750 template <class _Tp1> allocator(const allocator<_Tp1>&) __STL_NOTHROW {}
751 ~allocator() __STL_NOTHROW {}
775 class allocator<void> {
783 typedef allocator<_Tp1> other;
789 inline bool operator==(const allocator<_T1>&, const allocator<_T2>&)
795 inline bool operator!=(const allocator<_T1>&, const allocator<_T2>&)
800 // Allocator adaptor to turn an SGI-style allocator (e.g. alloc, malloc_alloc)
801 // into a standard-conforming allocator. Note that this adaptor does
805 // __allocator<_Tp, alloc> is essentially the same thing as allocator<_Tp>.
933 // Another allocator adaptor: _Alloc_traits. This serves two
935 // either SGI-style allocators or standard-conforming allocator.
937 // not the allocator has distinct instances. If not, the container
942 // standard-conforming allocator, possibly with non-equal instances
948 // conforming allocator type for allocating objects of type _Tp, and
972 // The version for the default allocator.
975 struct _Alloc_traits<_Tp, allocator<_Tp1> >
979 typedef allocator<_Tp> allocator_type;