|
iffl
1.3.4
Implements Intrusive Flat Forward List container
|
implements std::pmr::memory_resource interface. More...
#include <iffl_allocator.h>
Public Member Functions | |
| ~debug_memory_resource () noexcept | |
| Destructor triggers fail fast if there are outstanding allocations. | |
| size_t | get_busy_blocks_count () const noexcept |
| Can be used to query number of outstanding allocations. More... | |
| void | validate_no_busy_blocks () const noexcept |
| Triggers fail fast if there are outstanding allocations. | |
implements std::pmr::memory_resource interface.
This class can be used with Polymorphic Memory Allocator. Forward Linked List has typedef for PMR called pmr_flat_forward_list.
Sample usage:
Code should guarantee that memory resource is destroyed after all memory allocated from this allocator is deallocated.
This class provides:
|
inlinenoexcept |
Can be used to query number of outstanding allocations.
1.8.15