Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

immer::split_heap< Size, SmallHeap, BigHeap > Struct Template Reference

#include <split_heap.hpp>

Static Public Member Functions

template<typename... Tags>
static void * allocate (std::size_t size, Tags... tags)
 
template<typename... Tags>
static void deallocate (std::size_t size, void *data, Tags... tags)
 

Detailed Description

template<std::size_t Size, typename SmallHeap, typename BigHeap>
struct immer::split_heap< Size, SmallHeap, BigHeap >

Adaptor that uses SmallHeap for allocations that are smaller or equal to Size and BigHeap otherwise.

Definition at line 21 of file split_heap.hpp.

Member Function Documentation

◆ allocate()

template<std::size_t Size, typename SmallHeap , typename BigHeap >
template<typename... Tags>
static void* immer::split_heap< Size, SmallHeap, BigHeap >::allocate ( std::size_t  size,
Tags...  tags 
)
inlinestatic

Definition at line 24 of file split_heap.hpp.

◆ deallocate()

template<std::size_t Size, typename SmallHeap , typename BigHeap >
template<typename... Tags>
static void immer::split_heap< Size, SmallHeap, BigHeap >::deallocate ( std::size_t  size,
void *  data,
Tags...  tags 
)
inlinestatic

Definition at line 32 of file split_heap.hpp.


The documentation for this struct was generated from the following file:
Released under the MIT license