LL1Checker 2.0
“Tool for verifying LL(1) grammars and validating input strings.”
Loading...
Searching...
No Matches
nonstd::variants::variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > Class Template Reference

Classes

union  aligned_storage_t
 

Public Member Functions

 variant (T0 const &t0)
 
 variant (T1 const &t1)
 
 variant (T2 const &t2)
 
 variant (T3 const &t3)
 
 variant (T4 const &t4)
 
 variant (T5 const &t5)
 
 variant (T6 const &t6)
 
 variant (T7 const &t7)
 
 variant (T8 const &t8)
 
 variant (T9 const &t9)
 
 variant (T10 const &t10)
 
 variant (T11 const &t11)
 
 variant (T12 const &t12)
 
 variant (T13 const &t13)
 
 variant (T14 const &t14)
 
 variant (T15 const &t15)
 
 variant (variant const &other)
 
variantoperator= (variant const &other)
 
variantoperator= (T0 const &t0)
 
variantoperator= (T1 const &t1)
 
variantoperator= (T2 const &t2)
 
variantoperator= (T3 const &t3)
 
variantoperator= (T4 const &t4)
 
variantoperator= (T5 const &t5)
 
variantoperator= (T6 const &t6)
 
variantoperator= (T7 const &t7)
 
variantoperator= (T8 const &t8)
 
variantoperator= (T9 const &t9)
 
variantoperator= (T10 const &t10)
 
variantoperator= (T11 const &t11)
 
variantoperator= (T12 const &t12)
 
variantoperator= (T13 const &t13)
 
variantoperator= (T14 const &t14)
 
variantoperator= (T15 const &t15)
 
std::size_t index () const
 
bool valueless_by_exception () const
 
void swap (variant &other)
 
template<class T>
T & get ()
 
template<class T>
T const & get () const
 
template<std::size_t K>
variant_alternative< K, variant >::type & get ()
 
template<std::size_t K>
variant_alternative< K, variant >::type const & get () const
 

Static Public Member Functions

template<class T>
static variant_constexpr std::size_t index_of () variant_noexcept
 

Private Types

enum  { data_size = detail::typelist_max<variant_types>::value }
 
typedef detail::helper< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > helper_type
 
typedef helper_type::type_index_t type_index_t
 
typedef detail::typelist_max< variant_types >::type max_type
 

Private Member Functions

typedef variant_TL16 (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) variant_types
 
void * ptr () variant_noexcept
 
void const * ptr () const variant_noexcept
 
template<class U>
U * as ()
 
template<class U>
U const * as () const
 
variant_constexpr type_index_t variant_npos_internal () const variant_noexcept
 
variantcopy_assign (variant const &other)
 
template<std::size_t K, class T>
variantassign_value (T const &value)
 
void swap_value (type_index_t index, variant &other)
 
typedef variant_ALIGN_AS (max_type) align_as_type
 

Static Private Member Functions

template<class U>
static variant_constexpr std::size_t to_size_t (U index)
 

Private Attributes

aligned_storage_t data
 
type_index_t type_index
 

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