nil::crypto3::mlock_allocator Class Referencefinal

#include <locking_allocator.hpp>

+ Collaboration diagram for nil::crypto3::mlock_allocator:

Public Member Functions

void * allocate (size_t num_elems, size_t elem_size)
 
bool deallocate (void *p, size_t num_elems, size_t elem_size) BOOST_NOEXCEPT
 
 mlock_allocator (const mlock_allocator &)=delete
 
mlock_allocatoroperator= (const mlock_allocator &)=delete
 

Static Public Member Functions

static mlock_allocatorinstance ()
 

Constructor & Destructor Documentation

◆ mlock_allocator()

nil::crypto3::mlock_allocator::mlock_allocator ( const mlock_allocator )
delete

Member Function Documentation

◆ allocate()

void* nil::crypto3::mlock_allocator::allocate ( size_t  num_elems,
size_t  elem_size 
)
inline

◆ deallocate()

bool nil::crypto3::mlock_allocator::deallocate ( void *  p,
size_t  num_elems,
size_t  elem_size 
)
inline

◆ instance()

static mlock_allocator& nil::crypto3::mlock_allocator::instance ( )
inlinestatic

◆ operator=()

mlock_allocator& nil::crypto3::mlock_allocator::operator= ( const mlock_allocator )
delete

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