bsl::_Alloc_traits

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

NameDescription
_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

NameDescription
create_allocator Create an allocator of type allocator_type from the specified __a.