Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
FastSTLAllocator< T > Class Template Reference

#include <FastAllocator.h>

Classes

struct  rebind
 

Public Types

typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef T * pointer
 
typedef const T * const_pointer
 
typedef T & reference
 
typedef const T & const_reference
 
typedef T value_type
 

Public Member Functions

 FastSTLAllocator ()
 
 FastSTLAllocator (const FastSTLAllocator &)
 
template<class T1>
 FastSTLAllocator (const FastSTLAllocator< T1 > &)
 
 ~FastSTLAllocator ()
 
pointer address (reference x) const
 
const_pointer address (const_reference x) const
 
T * allocate (size_type n, const void *=NULL)
 
void deallocate (pointer p, size_type n)
 
size_type max_size () const
 
void construct (pointer p, const T &val)
 
void destroy (pointer p)
 

Detailed Description

template<class T>
class FastSTLAllocator< T >

Definition at line 568 of file FastAllocator.h.

Member Typedef Documentation

◆ const_pointer

template<class T>
typedef const T* FastSTLAllocator< T >::const_pointer

Definition at line 573 of file FastAllocator.h.

◆ const_reference

template<class T>
typedef const T& FastSTLAllocator< T >::const_reference

Definition at line 575 of file FastAllocator.h.

◆ difference_type

template<class T>
typedef ptrdiff_t FastSTLAllocator< T >::difference_type

Definition at line 571 of file FastAllocator.h.

◆ pointer

template<class T>
typedef T* FastSTLAllocator< T >::pointer

Definition at line 572 of file FastAllocator.h.

◆ reference

template<class T>
typedef T& FastSTLAllocator< T >::reference

Definition at line 574 of file FastAllocator.h.

◆ size_type

template<class T>
typedef size_t FastSTLAllocator< T >::size_type

Definition at line 570 of file FastAllocator.h.

◆ value_type

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

Definition at line 576 of file FastAllocator.h.

Constructor & Destructor Documentation

◆ FastSTLAllocator() [1/3]

template<class T>
FastSTLAllocator< T >::FastSTLAllocator ( )
inline

Definition at line 582 of file FastAllocator.h.

◆ FastSTLAllocator() [2/3]

template<class T>
FastSTLAllocator< T >::FastSTLAllocator ( const FastSTLAllocator< T > & )
inline

Definition at line 583 of file FastAllocator.h.

◆ FastSTLAllocator() [3/3]

template<class T>
template<class T1>
FastSTLAllocator< T >::FastSTLAllocator ( const FastSTLAllocator< T1 > & )
inline

Definition at line 584 of file FastAllocator.h.

◆ ~FastSTLAllocator()

template<class T>
FastSTLAllocator< T >::~FastSTLAllocator ( )
inline

Definition at line 585 of file FastAllocator.h.

Member Function Documentation

◆ address() [1/2]

template<class T>
const_pointer FastSTLAllocator< T >::address ( const_reference x) const
inline

Definition at line 588 of file FastAllocator.h.

◆ address() [2/2]

template<class T>
pointer FastSTLAllocator< T >::address ( reference x) const
inline

Definition at line 587 of file FastAllocator.h.

◆ allocate()

template<class T>
T * FastSTLAllocator< T >::allocate ( size_type n,
const void * = NULL )
inline

Definition at line 590 of file FastAllocator.h.

◆ construct()

template<class T>
void FastSTLAllocator< T >::construct ( pointer p,
const T & val )
inline

Definition at line 593 of file FastAllocator.h.

◆ deallocate()

template<class T>
void FastSTLAllocator< T >::deallocate ( pointer p,
size_type n )
inline

Definition at line 591 of file FastAllocator.h.

◆ destroy()

template<class T>
void FastSTLAllocator< T >::destroy ( pointer p)
inline

Definition at line 594 of file FastAllocator.h.

◆ max_size()

template<class T>
size_type FastSTLAllocator< T >::max_size ( ) const
inline

Definition at line 592 of file FastAllocator.h.


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