RESTinio
Public Types | Public Member Functions | Static Public Member Functions | List of all members
nonstd::variants::detail::helper< T0, T1, T2, T3, T4, T5, T6 > Struct Template Reference

#include <variant.hpp>

Public Types

typedef signed char type_index_t
 

Public Member Functions

typedef variant_TL7 (T0, T1, T2, T3, T4, T5, T6) variant_types
 

Static Public Member Functions

template<class U >
static U * as (void *data)
 
template<class U >
static U constas (void const *data)
 
static type_index_t to_index_t (std::size_t index)
 
static void destroy (std::size_t index, void *data)
 
static type_index_t copy (std::size_t const from_index, const void *from_value, void *to_value)
 

Detailed Description

template<class T0, class T1, class T2, class T3, class T4, class T5, class T6>
struct nonstd::variants::detail::helper< T0, T1, T2, T3, T4, T5, T6 >

Definition at line 719 of file variant.hpp.

Member Typedef Documentation

◆ type_index_t

template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
typedef signed char nonstd::variants::detail::helper< T0, T1, T2, T3, T4, T5, T6 >::type_index_t

Definition at line 721 of file variant.hpp.

Member Function Documentation

◆ as() [1/2]

template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
template<class U >
static U* nonstd::variants::detail::helper< T0, T1, T2, T3, T4, T5, T6 >::as ( void *  data)
inlinestatic

Definition at line 725 of file variant.hpp.

◆ as() [2/2]

template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
template<class U >
static U const* nonstd::variants::detail::helper< T0, T1, T2, T3, T4, T5, T6 >::as ( void const data)
inlinestatic

Definition at line 731 of file variant.hpp.

◆ copy()

template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
static type_index_t nonstd::variants::detail::helper< T0, T1, T2, T3, T4, T5, T6 >::copy ( std::size_t const  from_index,
const void *  from_value,
void *  to_value 
)
inlinestatic

Definition at line 790 of file variant.hpp.

◆ destroy()

template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
static void nonstd::variants::detail::helper< T0, T1, T2, T3, T4, T5, T6 >::destroy ( std::size_t  index,
void *  data 
)
inlinestatic

Definition at line 741 of file variant.hpp.

◆ to_index_t()

template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
static type_index_t nonstd::variants::detail::helper< T0, T1, T2, T3, T4, T5, T6 >::to_index_t ( std::size_t  index)
inlinestatic

Definition at line 736 of file variant.hpp.

◆ variant_TL7()

template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
typedef nonstd::variants::detail::helper< T0, T1, T2, T3, T4, T5, T6 >::variant_TL7 ( T0  ,
T1  ,
T2  ,
T3  ,
T4  ,
T5  ,
T6   
)

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