Bridge++  Ver. 2.0.2
aligned_allocator_impl< _Tp, AlignmentSize > Struct Template Reference

#include <aligned_allocator_impl.h>

Classes

struct  rebind
 

Public Types

typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef _Tp * pointer
 
typedef _Tp & reference
 
typedef _Tp value_type
 
template<typename T >
using allocator_t = aligned_allocator_impl< T, AlignmentSize >
 

Public Member Functions

 aligned_allocator_impl () throw ()
 
 ~aligned_allocator_impl () throw ()
 
_Tp * allocate (size_t n)
 
void deallocate (_Tp *p, size_t)
 

Public Attributes

const typedef _Tp * const_pointer
 
const typedef _Tp & const_reference
 

Detailed Description

template<typename _Tp, int AlignmentSize>
struct aligned_allocator_impl< _Tp, AlignmentSize >

Definition at line 33 of file aligned_allocator_impl.h.

Member Typedef Documentation

◆ allocator_t

template<typename _Tp , int AlignmentSize>
template<typename T >
using aligned_allocator_impl< _Tp, AlignmentSize >::allocator_t = aligned_allocator_impl<T, AlignmentSize>

Definition at line 47 of file aligned_allocator_impl.h.

◆ difference_type

template<typename _Tp , int AlignmentSize>
typedef ptrdiff_t aligned_allocator_impl< _Tp, AlignmentSize >::difference_type

Definition at line 36 of file aligned_allocator_impl.h.

◆ pointer

template<typename _Tp , int AlignmentSize>
typedef _Tp* aligned_allocator_impl< _Tp, AlignmentSize >::pointer

Definition at line 37 of file aligned_allocator_impl.h.

◆ reference

template<typename _Tp , int AlignmentSize>
typedef _Tp& aligned_allocator_impl< _Tp, AlignmentSize >::reference

Definition at line 39 of file aligned_allocator_impl.h.

◆ size_type

template<typename _Tp , int AlignmentSize>
typedef size_t aligned_allocator_impl< _Tp, AlignmentSize >::size_type

Definition at line 35 of file aligned_allocator_impl.h.

◆ value_type

template<typename _Tp , int AlignmentSize>
typedef _Tp aligned_allocator_impl< _Tp, AlignmentSize >::value_type

Definition at line 41 of file aligned_allocator_impl.h.

Constructor & Destructor Documentation

◆ aligned_allocator_impl()

template<typename _Tp , int AlignmentSize>
aligned_allocator_impl< _Tp, AlignmentSize >::aligned_allocator_impl ( )
throw (
)
inline

Definition at line 43 of file aligned_allocator_impl.h.

◆ ~aligned_allocator_impl()

template<typename _Tp , int AlignmentSize>
aligned_allocator_impl< _Tp, AlignmentSize >::~aligned_allocator_impl ( )
throw (
)
inline

Definition at line 44 of file aligned_allocator_impl.h.

Member Function Documentation

◆ allocate()

template<typename _Tp , int AlignmentSize>
_Tp* aligned_allocator_impl< _Tp, AlignmentSize >::allocate ( size_t  n)
inline

Definition at line 52 of file aligned_allocator_impl.h.

◆ deallocate()

template<typename _Tp , int AlignmentSize>
void aligned_allocator_impl< _Tp, AlignmentSize >::deallocate ( _Tp *  p,
size_t   
)
inline

Definition at line 63 of file aligned_allocator_impl.h.

Member Data Documentation

◆ const_pointer

template<typename _Tp , int AlignmentSize>
const typedef _Tp* aligned_allocator_impl< _Tp, AlignmentSize >::const_pointer

Definition at line 38 of file aligned_allocator_impl.h.

◆ const_reference

template<typename _Tp , int AlignmentSize>
const typedef _Tp& aligned_allocator_impl< _Tp, AlignmentSize >::const_reference

Definition at line 40 of file aligned_allocator_impl.h.


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