nil::crypto3::secure_allocator< T > Class Template Reference

#include <secure_allocator.hpp>

+ Collaboration diagram for nil::crypto3::secure_allocator< T >:

Public Types

typedef std::size_t size_type
 
typedef T value_type
 

Public Member Functions

T * allocate (std::size_t n)
 
void deallocate (T *p, std::size_t n)
 
secure_allocatoroperator= (const secure_allocator &) BOOST_NOEXCEPT=default
 
 secure_allocator () BOOST_NOEXCEPT=default
 
 secure_allocator (const secure_allocator &) BOOST_NOEXCEPT=default
 
template<typename U >
 secure_allocator (const secure_allocator< U > &) BOOST_NOEXCEPT
 
 ~secure_allocator () BOOST_NOEXCEPT=default
 

Member Typedef Documentation

◆ size_type

template<typename T >
typedef std::size_t nil::crypto3::secure_allocator< T >::size_type

◆ value_type

template<typename T >
typedef T nil::crypto3::secure_allocator< T >::value_type

Constructor & Destructor Documentation

◆ secure_allocator() [1/3]

template<typename T >
nil::crypto3::secure_allocator< T >::secure_allocator ( )
default

◆ secure_allocator() [2/3]

template<typename T >
nil::crypto3::secure_allocator< T >::secure_allocator ( const secure_allocator< T > &  )
default

◆ ~secure_allocator()

template<typename T >
nil::crypto3::secure_allocator< T >::~secure_allocator ( )
default

◆ secure_allocator() [3/3]

template<typename T >
template<typename U >
nil::crypto3::secure_allocator< T >::secure_allocator ( const secure_allocator< U > &  )
inline

Member Function Documentation

◆ allocate()

template<typename T >
T* nil::crypto3::secure_allocator< T >::allocate ( std::size_t  n)
inline

◆ deallocate()

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

◆ operator=()

template<typename T >
secure_allocator& nil::crypto3::secure_allocator< T >::operator= ( const secure_allocator< T > &  )
default

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