Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
secure_allocator< T > Struct Template Reference
#include <secure.h>
Inheritance diagram for secure_allocator< T >:
Collaboration diagram for secure_allocator< T >:
Classes | |
struct | rebind |
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 | |
secure_allocator () noexcept | |
secure_allocator (const secure_allocator &a) noexcept | |
template<typename U > | |
secure_allocator (const secure_allocator< U > &a) noexcept | |
~secure_allocator () noexcept | |
T * | allocate (std::size_t n, const void *hint=0) |
void | deallocate (T *p, std::size_t n) |
Detailed Description
Member Typedef Documentation
◆ base
template<typename T>
typedef std::allocator<T> secure_allocator< T >::base |
◆ const_pointer
template<typename T>
typedef base::const_pointer secure_allocator< T >::const_pointer |
◆ const_reference
template<typename T>
typedef base::const_reference secure_allocator< T >::const_reference |
◆ difference_type
template<typename T>
typedef base::difference_type secure_allocator< T >::difference_type |
◆ pointer
template<typename T>
typedef base::pointer secure_allocator< T >::pointer |
◆ reference
template<typename T>
typedef base::reference secure_allocator< T >::reference |
◆ size_type
template<typename T>
typedef base::size_type secure_allocator< T >::size_type |
◆ value_type
template<typename T>
typedef base::value_type secure_allocator< T >::value_type |
Constructor & Destructor Documentation
◆ secure_allocator() [1/3]
template<typename T>
|
inlinenoexcept |
◆ secure_allocator() [2/3]
template<typename T>
|
inlinenoexcept |
◆ secure_allocator() [3/3]
template<typename T>
template<typename U >
|
inlinenoexcept |
◆ ~secure_allocator()
template<typename T>
|
inlinenoexcept |
Member Function Documentation
◆ allocate()
template<typename T>
|
inline |
Definition at line 42 of file secure.h.
References LockedPool::alloc(), and LockedPoolManager::Instance().
◆ deallocate()
template<typename T>
|
inline |
Definition at line 47 of file secure.h.
References LockedPool::free(), LockedPoolManager::Instance(), and memory_cleanse().
The documentation for this struct was generated from the following file:
- src/support/allocators/secure.h