ReactOS 0.4.16-dev-338-g34e76ad
_Alloc_traits< _Tp, _Allocator > Struct Template Reference

#include <_alloc.h>

Public Types

typedef _Allocator _Orig
 
typedef _Allocator::_STLP_TEMPLATE rebind< _Tp > _Rebind_type
 
typedef _Rebind_type::other allocator_type
 

Static Public Member Functions

static allocator_type create_allocator (const _Orig &__a)
 

Detailed Description

template<class _Tp, class _Allocator>
struct _Alloc_traits< _Tp, _Allocator >

Definition at line 197 of file _alloc.h.

Member Typedef Documentation

◆ _Orig

template<class _Tp , class _Allocator >
typedef _Allocator _Alloc_traits< _Tp, _Allocator >::_Orig

Definition at line 198 of file _alloc.h.

◆ _Rebind_type

template<class _Tp , class _Allocator >
typedef _Allocator::_STLP_TEMPLATE rebind<_Tp> _Alloc_traits< _Tp, _Allocator >::_Rebind_type

Definition at line 200 of file _alloc.h.

◆ allocator_type

template<class _Tp , class _Allocator >
typedef _Rebind_type::other _Alloc_traits< _Tp, _Allocator >::allocator_type

Definition at line 201 of file _alloc.h.

Member Function Documentation

◆ create_allocator()

template<class _Tp , class _Allocator >
static allocator_type _Alloc_traits< _Tp, _Allocator >::create_allocator ( const _Orig __a)
inlinestatic

Definition at line 202 of file _alloc.h.

203 { return allocator_type(_STLP_CONVERT_ALLOCATOR(__a, _Tp)); }
#define _STLP_CONVERT_ALLOCATOR(__a, _Tp)
Definition: _alloc.h:183
_Rebind_type::other allocator_type
Definition: _alloc.h:201

The documentation for this struct was generated from the following file: