6 #ifndef FABCOIN_SUPPORT_ALLOCATORS_SECURE_H 7 #define FABCOIN_SUPPORT_ALLOCATORS_SECURE_H 21 typedef std::allocator<T>
base;
36 template <
typename _Other>
58 #endif // FABCOIN_SUPPORT_ALLOCATORS_SECURE_H base::const_reference const_reference
secure_allocator(const secure_allocator &a)
static LockedPoolManager & Instance()
Return the current instance, or create it once.
base::size_type size_type
std::basic_string< char, std::char_traits< char >, secure_allocator< char > > SecureString
base::value_type value_type
secure_allocator< _Other > other
void memory_cleanse(void *ptr, size_t len)
void * alloc(size_t size)
Allocate size bytes from this arena.
base::reference reference
secure_allocator(const secure_allocator< U > &a)
base::const_pointer const_pointer
void free(void *ptr)
Free a previously allocated chunk of memory.
T * allocate(std::size_t n, const void *hint=0)
base::difference_type difference_type
void deallocate(T *p, std::size_t n)