7 #ifndef RAVEN_SUPPORT_ALLOCATORS_SECURE_H 8 #define RAVEN_SUPPORT_ALLOCATORS_SECURE_H 22 typedef std::allocator<T>
base;
37 template <
typename _Other>
42 T*
allocate(std::size_t n,
const void* hint = 0)
59 #endif // RAVEN_SUPPORT_ALLOCATORS_SECURE_H base::const_reference const_reference
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
secure_allocator() noexcept
void memory_cleanse(void *ptr, size_t len)
void * alloc(size_t size)
Allocate size bytes from this arena.
secure_allocator(const secure_allocator &a) noexcept
base::reference reference
base::const_pointer const_pointer
void free(void *ptr)
Free a previously allocated chunk of memory.
secure_allocator(const secure_allocator< U > &a) noexcept
T * allocate(std::size_t n, const void *hint=0)
base::difference_type difference_type
void deallocate(T *p, std::size_t n)
~secure_allocator() noexcept