bsl::_STLP_alloc_proxy

Proxy combining an allocator with a stored value for STLPort containers.

Synopsis

Declared in <bslstp_alloc.h>

template<
    class _Value,
    class _Tp,
    class _MaybeReboundAlloc>
class _STLP_alloc_proxy
    : public BloombergLP::bslalg::ContainerBase<_MaybeReboundAlloc>

Base Classes

NameDescription
BloombergLP::bslalg::ContainerBase<_MaybeReboundAlloc>Allocator proxy base class for STL-style containers.

Type Aliases

NameDescription
AllocatorType Alias for the (template parameter) ALLOCATOR type.

Member Functions

NameDescription
_STLP_alloc_proxy [constructor]Create a proxy holding the specified allocator and data value.
equalAllocator Return true if this object and the specified rhs have allocators that compare equal.
get_allocator Return a copy of the allocator held by this proxy.

Data Members

NameDescription
_M_data Data member managed by this allocator proxy.