Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
Holder< TYPES >::Buffer Struct Reference

#include "lib/variant-o.hpp"

Description

template<typename TYPES>
struct lib::variant::Holder< TYPES >::Buffer

Storage to hold the actual value.

Definition at line 80 of file variant-o.hpp.

Public Attributes

char buffer_ [SIZE]
 
uint which_
 

Public Member Functions

 Buffer ()
 
void * put (void)
 
void deleteCurrent ()
 

Constructor & Destructor Documentation

◆ Buffer()

template<typename TYPES >
Buffer ( )
inline

Definition at line 85 of file variant-o.hpp.

Member Function Documentation

◆ put()

template<typename TYPES >
void * put ( void  )
inline

Definition at line 88 of file variant-o.hpp.

References Holder< TYPES >::Buffer::deleteCurrent().

+ Here is the call graph for this function:

◆ deleteCurrent()

template<typename TYPES >
void deleteCurrent ( )
inline

Definition at line 207 of file variant-o.hpp.

References Holder< TYPES >::TYPECNT, and Holder< TYPES >::Buffer::which_.

Referenced by Holder< TYPES >::Buffer::put().

+ Here is the caller graph for this function:

Member Data Documentation

◆ buffer_

template<typename TYPES >
char buffer_[SIZE]

Definition at line 82 of file variant-o.hpp.

Referenced by Holder< TYPES >::CaseSelect< FUNCTOR >::trampoline().

◆ which_

template<typename TYPES >
uint which_
+ Collaboration diagram for Holder< TYPES >::Buffer:

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