Shaka Player Embedded
Public Member Functions | List of all members
shaka::impl::union_< T > Class Template Referencefinal

#include <variant.h>

Public Member Functions

 union_ ()
 
 ~union_ ()
 
 union_ (const union_ &)=delete
 
union_operator= (const union_ &)=delete
 
 union_ (union_ &&)=delete
 
union_operator= (union_ &&)=delete
 
void copy (const union_ &other, size_t i)
 
void move (union_ &&other, size_t i)
 
template<size_t I>
const T & get () const
 
template<size_t I>
T & get ()
 
template<size_t I, typename... U>
void emplace (U &&... args)
 
void reset (size_t i)
 
bool equals (const union_ &other, size_t i) const
 

Detailed Description

template<typename T>
class shaka::impl::union_< T >

Definition at line 220 of file variant.h.

Constructor & Destructor Documentation

§ union_() [1/3]

template<typename T >
shaka::impl::union_< T >::union_ ( )
inline

Definition at line 222 of file variant.h.

§ ~union_()

template<typename T >
shaka::impl::union_< T >::~union_ ( )
inline

Definition at line 223 of file variant.h.

§ union_() [2/3]

template<typename T >
shaka::impl::union_< T >::union_ ( const union_< T > &  )
delete

§ union_() [3/3]

template<typename T >
shaka::impl::union_< T >::union_ ( union_< T > &&  )
delete

Member Function Documentation

§ copy()

template<typename T >
void shaka::impl::union_< T >::copy ( const union_< T > &  other,
size_t  i 
)
inline

Definition at line 227 of file variant.h.

§ emplace()

template<typename T >
template<size_t I, typename... U>
void shaka::impl::union_< T >::emplace ( U &&...  args)
inline

Definition at line 251 of file variant.h.

§ equals()

template<typename T >
bool shaka::impl::union_< T >::equals ( const union_< T > &  other,
size_t  i 
) const
inline

Definition at line 261 of file variant.h.

§ get() [1/2]

template<typename T >
template<size_t I>
const T& shaka::impl::union_< T >::get ( ) const
inline

Definition at line 238 of file variant.h.

§ get() [2/2]

template<typename T >
template<size_t I>
T& shaka::impl::union_< T >::get ( )
inline

Definition at line 244 of file variant.h.

§ move()

template<typename T >
void shaka::impl::union_< T >::move ( union_< T > &&  other,
size_t  i 
)
inline

Definition at line 232 of file variant.h.

§ operator=() [1/2]

template<typename T >
union_& shaka::impl::union_< T >::operator= ( union_< T > &&  )
delete

§ operator=() [2/2]

template<typename T >
union_& shaka::impl::union_< T >::operator= ( const union_< T > &  )
delete

§ reset()

template<typename T >
void shaka::impl::union_< T >::reset ( size_t  i)
inline

Definition at line 256 of file variant.h.

Member Data Documentation

§ dummy_

template<typename T >
uint8_t shaka::impl::union_< T >::dummy_

Definition at line 269 of file variant.h.

§ value_

template<typename T >
T shaka::impl::union_< T >::value_

Definition at line 268 of file variant.h.


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