|
Botan 3.13.0
Crypto and TLS for C&
|
#include <secmem.h>
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_allocator & | operator= (const secure_allocator &) noexcept=default |
| secure_allocator & | operator= (secure_allocator &&) noexcept=default |
| secure_allocator () noexcept=default | |
| secure_allocator (const secure_allocator &) noexcept=default | |
| template<typename U> | |
| secure_allocator (const secure_allocator< U > &) noexcept | |
| secure_allocator (secure_allocator &&) noexcept=default | |
| ~secure_allocator () noexcept=default | |
| typedef std::size_t Botan::secure_allocator< T >::size_type |
| typedef T Botan::secure_allocator< T >::value_type |
|
defaultnoexcept |
Default constructor
Referenced by operator=(), operator=(), secure_allocator(), secure_allocator(), secure_allocator(), and ~secure_allocator().
|
defaultnoexcept |
Copy constructor
References secure_allocator().
|
defaultnoexcept |
Move constructor
References secure_allocator().
|
defaultnoexcept |
References secure_allocator().
|
inlineexplicitnoexcept |
Convert an allocator for a different type
Definition at line 88 of file secmem.h.
References secure_allocator().
|
inline |
Allocate storage for n objects
| n | the number of objects |
Definition at line 95 of file secmem.h.
References Botan::allocate_memory().
|
inline |
Zeroize and release storage previously returned by allocate
| p | the pointer to release |
| n | the number of objects p was allocated for |
Definition at line 102 of file secmem.h.
References Botan::deallocate_memory().
|
defaultnoexcept |
|
defaultnoexcept |