Shaka Player Embedded
|
#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> | |
get_const_reference_at_t< I, T, Rest... > | get () const |
template<size_t I> | |
get_type_at_t< I, T, Rest... > & | 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 |
Represents a union of the given types. This doesn't track which type is contained and assumes the caller will. The caller needs to explicitly call emplace() and reset() to set and clear the value respectively.
|
inline |
|
inline |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
delete |
|
inline |
union_<Rest...> shaka::impl::union_< T, Rest >::rest_ |
T shaka::impl::union_< T, Rest >::value_ |