Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
immer::with_data< T, Base > Struct Template Reference
#include <with_data.hpp>
Inheritance diagram for immer::with_data< T, Base >:
Collaboration diagram for immer::with_data< T, Base >:
Public Types | |
using | base_t = Base |
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 *p, Tags... tags) |
Detailed Description
template<typename T, typename Base>
struct immer::with_data< T, Base >
Appends a default constructed extra object of type T
at the before the requested region.
- Template Parameters
-
T Type of the appended data. Base Type of the parent heap.
Definition at line 23 of file with_data.hpp.
Member Typedef Documentation
◆ base_t
template<typename T, typename Base>
using immer::with_data< T, Base >::base_t = Base |
Definition at line 25 of file with_data.hpp.
Member Function Documentation
◆ allocate()
template<typename T, typename Base>
template<typename... Tags>
|
inlinestatic |
Definition at line 28 of file with_data.hpp.
◆ deallocate()
template<typename T, typename Base>
template<typename... Tags>
|
inlinestatic |
Definition at line 35 of file with_data.hpp.
The documentation for this struct was generated from the following file:
- src/immer/heap/with_data.hpp