FixedSizeAllocatorWithCleanup< T, S, A > Class Template Reference

Inheritance diagram for FixedSizeAllocatorWithCleanup< T, S, A >:

AllocatorBase< T > List of all members.

Detailed Description

template<class T, size_t S, class A = NullAllocator<T>>
class FixedSizeAllocatorWithCleanup< T, S, A >

Definition at line 144 of file secblock.h.

Public Types

typedef AllocatorBase< T
>::value_type 
value_type
typedef AllocatorBase< T
>::size_type 
size_type
typedef AllocatorBase< T
>::difference_type 
difference_type
typedef AllocatorBase< T
>::pointer 
pointer
typedef AllocatorBase< T
>::const_pointer 
const_pointer
typedef AllocatorBase< T
>::reference 
reference
typedef AllocatorBase< T
>::const_reference 
const_reference

Public Member Functions

 FixedSizeAllocatorWithCleanup ()
pointer allocate (size_type n)
pointer allocate (size_type n, const void *hint)
void deallocate (void *p, size_type n)
pointer reallocate (pointer p, size_type oldSize, size_type newSize, bool preserve)
size_type max_size () const
pointer address (reference r) const
const_pointer address (const_reference r) const
void construct (pointer p, const T &val)
void destroy (pointer p)

Static Protected Member Functions

static void CheckSize (size_t n)


The documentation for this class was generated from the following file:
Generated on Sat Dec 23 02:07:23 2006 for Crypto++ by  doxygen 1.5.1-p1