Traits for rebinding STLPort allocators to a different value type.

Synopsis

Declared in <bslstp_alloc.h>

template<
    class _Tp,
    class _Allocator>
struct _Alloc_traits;

Type Aliases

Name

Description

_Orig

Original allocator type supplied to this traits class.

_Rebind_type

Rebound allocator type for objects of type _Tp.

allocator_type

Allocator type used by containers rebound to _Tp.

Static Member Functions

Name

Description

create_allocator

Create an allocator of type allocator_type from the specified __a.

Created with MrDocs