Bridge++  Ver. 2.0.2
aligned_allocator_offset_impl< _Tp, AlignmentSize, OffsetSize > 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_offset_impl< T, AlignmentSize, OffsetSize >
 

Public Member Functions

 aligned_allocator_offset_impl () throw ()
 
 ~aligned_allocator_offset_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, int OffsetSize>
struct aligned_allocator_offset_impl< _Tp, AlignmentSize, OffsetSize >

Definition at line 95 of file aligned_allocator_impl.h.

Member Typedef Documentation

◆ allocator_t

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

Definition at line 109 of file aligned_allocator_impl.h.

◆ difference_type

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

Definition at line 98 of file aligned_allocator_impl.h.

◆ pointer

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

Definition at line 99 of file aligned_allocator_impl.h.

◆ reference

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

Definition at line 101 of file aligned_allocator_impl.h.

◆ size_type

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

Definition at line 97 of file aligned_allocator_impl.h.

◆ value_type

template<typename _Tp , int AlignmentSize, int OffsetSize>
typedef _Tp aligned_allocator_offset_impl< _Tp, AlignmentSize, OffsetSize >::value_type

Definition at line 103 of file aligned_allocator_impl.h.

Constructor & Destructor Documentation

◆ aligned_allocator_offset_impl()

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

Definition at line 105 of file aligned_allocator_impl.h.

◆ ~aligned_allocator_offset_impl()

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

Definition at line 106 of file aligned_allocator_impl.h.

Member Function Documentation

◆ allocate()

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

Definition at line 114 of file aligned_allocator_impl.h.

◆ deallocate()

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

Definition at line 127 of file aligned_allocator_impl.h.

Member Data Documentation

◆ const_pointer

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

Definition at line 100 of file aligned_allocator_impl.h.

◆ const_reference

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

Definition at line 102 of file aligned_allocator_impl.h.


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