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

Name

Description

BloombergLP::bslalg::ContainerBase<_MaybeReboundAlloc>

Allocator proxy base class for STL‐style containers.

Type Aliases

Name

Description

AllocatorType

Alias for the (template parameter) ALLOCATOR type.

Member Functions

Name

Description

_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

Name

Description

_M_data

Data member managed by this allocator proxy.

Created with MrDocs