Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
immer::unsafe_free_list_heap< Size, Limit, Base > Struct Template Reference
#include <unsafe_free_list_heap.hpp>
Inheritance diagram for immer::unsafe_free_list_heap< Size, Limit, Base >:
Collaboration diagram for immer::unsafe_free_list_heap< Size, Limit, Base >:
Additional Inherited Members | |
Public Types inherited from immer::detail::unsafe_free_list_heap_impl< detail::unsafe_free_list_storage, Size, Limit, Base > | |
using | base_t = Base |
Static Public Member Functions inherited from immer::detail::unsafe_free_list_heap_impl< detail::unsafe_free_list_storage, Size, Limit, Base > | |
static void * | allocate (std::size_t size, Tags...) |
static void | deallocate (std::size_t size, void *data, Tags...) |
static void | clear () |
Detailed Description
template<std::size_t Size, std::size_t Limit, typename Base>
struct immer::unsafe_free_list_heap< Size, Limit, Base >
Adaptor that does not release the memory to the parent heap but instead it keeps the memory in a global free list that is not thread-safe. Must be preceded by a with_data<free_list_node, ...>
heap adaptor.
- Template Parameters
-
Size Maximum size of the objects to be allocated. Limit Maximum number of elements to keep in the free list. Base Type of the parent heap.
Definition at line 101 of file unsafe_free_list_heap.hpp.
The documentation for this struct was generated from the following file:
- src/immer/heap/unsafe_free_list_heap.hpp