Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Public Types | Public Member Functions | List of all members
secure_allocator< T > Struct Template Reference

#include <secure.h>

Inheritance diagram for secure_allocator< T >:
[legend]
Collaboration diagram for secure_allocator< T >:
[legend]

Classes

struct  rebind
 

Public Types

typedef std::allocator< Tbase
 
typedef base::size_type size_type
 
typedef base::difference_type difference_type
 
typedef base::pointer pointer
 
typedef base::const_pointer const_pointer
 
typedef base::reference reference
 
typedef base::const_reference const_reference
 
typedef base::value_type value_type
 

Public Member Functions

 secure_allocator () throw ()
 
 secure_allocator (const secure_allocator &a) throw ()
 
template<typename U >
 secure_allocator (const secure_allocator< U > &a) throw ()
 
 ~secure_allocator () throw ()
 
Tallocate (std::size_t n, const void *hint=0)
 
void deallocate (T *p, std::size_t n)
 

Detailed Description

template<typename T>
struct secure_allocator< T >

Definition at line 19 of file secure.h.

Member Typedef Documentation

template<typename T>
typedef std::allocator<T> secure_allocator< T >::base

Definition at line 21 of file secure.h.

template<typename T>
typedef base::const_pointer secure_allocator< T >::const_pointer

Definition at line 25 of file secure.h.

template<typename T>
typedef base::const_reference secure_allocator< T >::const_reference

Definition at line 27 of file secure.h.

template<typename T>
typedef base::difference_type secure_allocator< T >::difference_type

Definition at line 23 of file secure.h.

template<typename T>
typedef base::pointer secure_allocator< T >::pointer

Definition at line 24 of file secure.h.

template<typename T>
typedef base::reference secure_allocator< T >::reference

Definition at line 26 of file secure.h.

template<typename T>
typedef base::size_type secure_allocator< T >::size_type

Definition at line 22 of file secure.h.

template<typename T>
typedef base::value_type secure_allocator< T >::value_type

Definition at line 28 of file secure.h.

Constructor & Destructor Documentation

template<typename T>
secure_allocator< T >::secure_allocator ( )
throw (
)
inline

Definition at line 29 of file secure.h.

template<typename T>
secure_allocator< T >::secure_allocator ( const secure_allocator< T > &  a)
throw (
)
inline

Definition at line 30 of file secure.h.

template<typename T>
template<typename U >
secure_allocator< T >::secure_allocator ( const secure_allocator< U > &  a)
throw (
)
inline

Definition at line 32 of file secure.h.

template<typename T>
secure_allocator< T >::~secure_allocator ( )
throw (
)
inline

Definition at line 35 of file secure.h.

Member Function Documentation

template<typename T>
T* secure_allocator< T >::allocate ( std::size_t  n,
const void *  hint = 0 
)
inline

Definition at line 41 of file secure.h.

Here is the call graph for this function:

template<typename T>
void secure_allocator< T >::deallocate ( T p,
std::size_t  n 
)
inline

Definition at line 46 of file secure.h.

Here is the call graph for this function:


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