codex
Loading...
Searching...
No Matches
storage_switch< N > Class Template Reference

Public Member Functions

template<typename T >
void operator() (T *p) const
 
template<auto f>
storage_switch< Nmake (void *d, std::ranges::contiguous_range auto &&...rs)
 

Static Public Member Functions

template<auto f>
static storage_switch make (void *d, std::ranges::contiguous_range auto &&...rs)
 

Private Types

using entry = detail::entry
 

Private Member Functions

 storage_switch (void *d_, std::array< entry, N > a)
 

Private Attributes

void * d
 
std::array< entry, Nentries
 

Member Typedef Documentation

◆ entry

template<std::size_t N>
using storage_switch< N >::entry = detail::entry
private

Constructor & Destructor Documentation

◆ storage_switch()

template<std::size_t N>
storage_switch< N >::storage_switch ( void * d_,
std::array< entry, N > a )
inlineexplicitprivate

Member Function Documentation

◆ make() [1/2]

template<std::size_t N>
template<auto f>
static storage_switch storage_switch< N >::make ( void * d,
std::ranges::contiguous_range auto &&... rs )
static

◆ make() [2/2]

template<std::size_t N>
template<auto f>
storage_switch< N > storage_switch< N >::make ( void * d,
std::ranges::contiguous_range auto &&... rs )

◆ operator()()

template<std::size_t N>
template<typename T >
void storage_switch< N >::operator() ( T * p) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ d

template<std::size_t N>
void* storage_switch< N >::d
private

◆ entries

template<std::size_t N>
std::array<entry, N> storage_switch< N >::entries
private

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