Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
AllocatorHandle< TY >::Allocation Struct Reference

Description

template<typename TY>
struct lib::AllocatorHandle< TY >::Allocation

Definition at line 298 of file allocator-handle.hpp.

Public Attributes

std::byte buf_ [sizeof(TY)]
 

Public Member Functions

template<typename... ARGS>
TY & create (ARGS &&...args)
 
TY & access ()
 
void discard ()
 

Member Function Documentation

◆ create()

template<typename TY >
template<typename... ARGS>
TY & create ( ARGS &&...  args)
inline

Definition at line 305 of file allocator-handle.hpp.

References AllocatorHandle< TY >::Allocation::buf_.

◆ access()

template<typename TY >
TY & access ( )
inline

Definition at line 311 of file allocator-handle.hpp.

References AllocatorHandle< TY >::Allocation::buf_.

Referenced by AllocatorHandle< TY >::Allocation::discard().

+ Here is the caller graph for this function:

◆ discard()

template<typename TY >
void discard ( )
inline
Warning
strong assumption made here: Payload was created

Definition at line 316 of file allocator-handle.hpp.

References AllocatorHandle< TY >::Allocation::access().

+ Here is the call graph for this function:

Member Data Documentation

◆ buf_

template<typename TY >
std::byte buf_[sizeof(TY)]
+ Collaboration diagram for AllocatorHandle< TY >::Allocation:

The documentation for this struct was generated from the following file: