Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <pooled_secure.h>
Classes | |
struct | internal_secure_allocator |
Public Types | |
typedef std::allocator< T > | base |
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 | |
pooled_secure_allocator (const size_type nrequested_size=32, const size_type nnext_size=32, const size_type nmax_size=0) noexcept | |
~pooled_secure_allocator () noexcept | |
T * | allocate (std::size_t n, const void *hint=0) |
void | deallocate (T *p, std::size_t n) |
Private Attributes | |
boost::pool< internal_secure_allocator > | pool |
Detailed Description
template<typename T>
struct pooled_secure_allocator< T >
Definition at line 21 of file pooled_secure.h.
Member Typedef Documentation
◆ base
typedef std::allocator<T> pooled_secure_allocator< T >::base |
Definition at line 23 of file pooled_secure.h.
◆ const_pointer
typedef base::const_pointer pooled_secure_allocator< T >::const_pointer |
Definition at line 27 of file pooled_secure.h.
◆ const_reference
typedef base::const_reference pooled_secure_allocator< T >::const_reference |
Definition at line 29 of file pooled_secure.h.
◆ difference_type
typedef base::difference_type pooled_secure_allocator< T >::difference_type |
Definition at line 25 of file pooled_secure.h.
◆ pointer
typedef base::pointer pooled_secure_allocator< T >::pointer |
Definition at line 26 of file pooled_secure.h.
◆ reference
typedef base::reference pooled_secure_allocator< T >::reference |
Definition at line 28 of file pooled_secure.h.
◆ size_type
typedef base::size_type pooled_secure_allocator< T >::size_type |
Definition at line 24 of file pooled_secure.h.
◆ value_type
typedef base::value_type pooled_secure_allocator< T >::value_type |
Definition at line 30 of file pooled_secure.h.
Constructor & Destructor Documentation
◆ pooled_secure_allocator()
|
inlinenoexcept |
Definition at line 31 of file pooled_secure.h.
◆ ~pooled_secure_allocator()
|
inlinenoexcept |
Definition at line 35 of file pooled_secure.h.
Member Function Documentation
◆ allocate()
|
inline |
Definition at line 37 of file pooled_secure.h.
◆ deallocate()
|
inline |
Definition at line 43 of file pooled_secure.h.
Member Data Documentation
◆ pool
|
private |
Definition at line 70 of file pooled_secure.h.
Referenced by pooled_secure_allocator< uint8_t >::allocate(), and pooled_secure_allocator< uint8_t >::deallocate().
The documentation for this struct was generated from the following file:
- src/support/allocators/pooled_secure.h