Proxy combining an allocator with a stored value for STLPort containers.
Declared in <bslstp_alloc.h>
template<
class _Value,
class _Tp,
class _MaybeReboundAlloc>
class _STLP_alloc_proxy
: public BloombergLP::bslalg::ContainerBase<_MaybeReboundAlloc>
| Name | Description |
|---|---|
BloombergLP::bslalg::ContainerBase<_MaybeReboundAlloc> | Allocator proxy class for STL-style containers. Provides access to the allocator. Implements the entire STL allocator interface, redirecting allocation and deallocation calls to the proxied allocator. One of two possible base classes is chosen depending on whether ALLOCATOR is an empty class. |
| Name | Description |
|---|---|
AllocatorType | Alias for the (template parameter) ALLOCATOR type. |
| Name | Description |
|---|---|
_STLP_alloc_proxy [constructor] | Create a proxy holding the specified allocator and data value. |
equalAllocator | Returns true if this object and rhs have allocators that compare equal. |
get_allocator | Return a copy of the allocator held by this proxy. |
| Name | Description |
|---|---|
_M_data | Data member managed by this allocator proxy. |