Classes | Public Member Functions | Static Public Member Functions
nonstd::variants::variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > Class Template Reference

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