[#bsl-_STLP_alloc_proxy] = xref:bsl.adoc[bsl]::_STLP_alloc_proxy :relfileprefix: ../ :mrdocs: Proxy combining an allocator with a stored value for STLPort containers. == Synopsis Declared in `<bslstp_alloc.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class _Value, class _Tp, class _MaybeReboundAlloc> class _STLP_alloc_proxy : public xref:BloombergLP/bslalg/ContainerBase.adoc[BloombergLP::bslalg::ContainerBase<_MaybeReboundAlloc>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bslalg/ContainerBase.adoc[BloombergLP::bslalg::ContainerBase<_MaybeReboundAlloc>]` | Allocator proxy base class for STL‐style containers. |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslalg/ContainerBase/AllocatorType.adoc[`AllocatorType`] | Alias for the (template parameter) `ALLOCATOR` type. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/_STLP_alloc_proxy/2constructor.adoc[`_STLP_alloc_proxy`] [.small]#[constructor]# | Create a proxy holding the specified allocator and data value. | xref:BloombergLP/bslalg/ContainerBase/equalAllocator.adoc[`equalAllocator`] | Return `true` if this object and the specified `rhs` have allocators that compare equal. | xref:bsl/_STLP_alloc_proxy/get_allocator.adoc[`get_allocator`] | Return a copy of the allocator held by this proxy. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:bsl/_STLP_alloc_proxy/_M_data.adoc[`_M_data`] | Data member managed by this allocator proxy. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#