Allocator that locks its contents from being paged out of memory and clears its contents before deletion.
Synopsis
Declared in <support/allocators/secure.h>
template<typename T>
struct secure_allocator;
Type Aliases
Name |
Description |
The type of object this allocator allocates. |
Member Functions
Name |
Description |
|
Constructors |
Allocates locked memory for n objects from the locked pool. |
|
Clears and returns locked memory previously obtained from allocate. |
Friends
Name |
Description |
Compares two secure allocators for equality; they are always equal since the allocator is stateless. |
Created with MrDocs