Allocator that locks its contents from being paged out of memory and clears its contents before deletion.
Declared in <support/allocators/secure.h>
template<typename T>
struct secure_allocator;
| Name | Description |
|---|---|
value_type | The type of object this allocator allocates. |
| Name | Description |
|---|---|
secure_allocator [constructor] | Constructors |
allocate | Allocates locked memory for n objects from the locked pool. |
deallocate | Clears and returns locked memory previously obtained from allocate. |
| Name | Description |
|---|---|
operator== | Compares two secure allocators for equality; they are always equal since the allocator is stateless. |