The main libER stand-in for ER allocator proxies.
More...
#include <from_allocator.hpp>
|
using | value_type = T |
| The allocated value type.
|
|
using | size_type = size_t |
| Memory size type.
|
|
using | difference_type = ptrdiff_t |
| Memory difference type.
|
|
using | propagate_on_container_move_assignment = std::true_type |
| This allocator is move assigned along with the contents.
|
|
using | is_always_equal = std::false_type |
| This allocator may proxy different stateful allocators.
|
|
The main libER stand-in for ER allocator proxies.
Uses the DLKR::DLAllocator interface and fulfils allocator completeness requirements.
- Template Parameters
-
◆ is_always_equal
This allocator may proxy different stateful allocators.
Equality checks via operator == are required on assignment.
◆ allocator() [1/2]
Allocator copy constructor.
Required by allocator completeness requirements.
- Template Parameters
-
- Parameters
-
◆ allocator() [2/2]
◆ allocate()
Allocate n instances of uninitialized memory for T.
- Parameters
-
n | count of instances to allocate |
- Returns
- T* pointer to allocated memory
◆ deallocate()
Deallocate previously allocated memory.
- Parameters
-
p | pointer to the memory to deallocate |
n | is ignored by DLKR::DLAllocator and can be zero |
The documentation for this class was generated from the following file: