Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <free_list_heap.hpp>
|
template<typename... Tags> |
static void * | allocate (std::size_t size, Tags...) |
|
template<typename... Tags> |
static void | deallocate (std::size_t size, void *data, Tags...) |
|
template<std::size_t Size, std::size_t Limit, typename Base>
struct immer::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 thread-safe global free list. Must be preceded by a with_data<free_list_node, ...>
heap adaptor.
- Template Parameters
-
Size | Maximum size of the objects to be allocated. |
Base | Type of the parent heap. |
Definition at line 28 of file free_list_heap.hpp.
◆ base_t
template<std::size_t Size, std::size_t Limit, typename Base >
◆ allocate()
template<std::size_t Size, std::size_t Limit, typename Base >
template<typename... Tags>
◆ deallocate()
template<std::size_t Size, std::size_t Limit, typename Base >
template<typename... Tags>
static void immer::free_list_heap< Size, Limit, Base >::deallocate |
( |
std::size_t |
size, |
|
|
void * |
data, |
|
|
Tags... |
|
|
) |
| |
|
inlinestatic |
Definition at line 51 of file free_list_heap.hpp.
References count, immer::free_list_heap< Size, Limit, Base >::head_t::count, immer::free_list_heap< Size, Limit, Base >::head_t::data, immer::free_list_heap< Size, Limit, Base >::head(), and immer::free_list_node::next.
◆ head()
template<std::size_t Size, std::size_t Limit, typename Base >
The documentation for this struct was generated from the following file: