Project
Loading...
Searching...
No Matches
vecpod_allocator< T > Struct Template Reference

#include <vecpod.h>

Public Types

typedef T value_type
 

Public Member Functions

 vecpod_allocator () noexcept
 
T * allocate (std::size_t n)
 
void deallocate (T *p, std::size_t n)
 

Static Public Member Functions

static void construct (T *)
 

Public Attributes

std::allocator< T > stdalloc
 

Detailed Description

template<class T>
struct vecpod_allocator< T >

Definition at line 21 of file vecpod.h.

Member Typedef Documentation

◆ value_type

template<class T >
typedef T vecpod_allocator< T >::value_type

Definition at line 22 of file vecpod.h.

Constructor & Destructor Documentation

◆ vecpod_allocator()

template<class T >
vecpod_allocator< T >::vecpod_allocator ( )
inlinenoexcept

Definition at line 23 of file vecpod.h.

Member Function Documentation

◆ allocate()

template<class T >
T * vecpod_allocator< T >::allocate ( std::size_t  n)
inline

Definition at line 24 of file vecpod.h.

◆ construct()

template<class T >
static void vecpod_allocator< T >::construct ( T *  )
inlinestatic

Definition at line 26 of file vecpod.h.

◆ deallocate()

template<class T >
void vecpod_allocator< T >::deallocate ( T *  p,
std::size_t  n 
)
inline

Definition at line 25 of file vecpod.h.

Member Data Documentation

◆ stdalloc

template<class T >
std::allocator<T> vecpod_allocator< T >::stdalloc

Definition at line 27 of file vecpod.h.


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