Shaka Player Embedded
|
#include <variant.h>
Public Member Functions | |
variant () | |
template<typename U , typename = typename std::enable_if<!impl::is_variant< typename std::decay<U>::type>::value>::type> | |
variant (U &&value) | |
variant (const variant &other) | |
variant (variant &&other) | |
~variant () | |
variant & | operator= (const variant &other) |
variant & | operator= (variant &&other) |
size_t | index () const |
template<typename T , typename... Args> | |
T & | emplace (Args &&... args) |
template<size_t I, typename... Args> | |
variant_alternative_t< I, variant > & | emplace (Args &&... args) |
Friends | |
template<typename... > | |
class | variant |
template<typename... Choices> | |
bool | operator== (const variant< Choices... > &, const variant< Choices... > &) |
template<size_t I, typename... Choices> | |
impl::get_const_reference_at_t< I, Choices... > | get (const variant< Choices... > &) |
template<size_t I, typename... Choices> | |
variant_alternative_t< I, variant< Choices... > > & | get (variant< Choices... > &) |
template<typename T , typename... Choices> | |
const T & | get (const variant< Choices... > &) |
template<typename T , typename... Choices> | |
T & | get (variant< Choices... > &) |
template<typename T , typename... Choices> | |
T && | get (variant< Choices... > &&) |
template<size_t I, typename... Choices> | |
std::add_const< variant_alternative_t< I, variant< Choices... > > >::type * | get_if (const variant< Choices... > &) |
template<size_t I, typename... Choices> | |
variant_alternative_t< I, variant< Choices... > > * | get_if (variant< Choices... > &) |
template<typename T , typename... Choices> | |
const T * | get_if (const variant< Choices... > &) |
template<typename T , typename... Choices> | |
T * | get_if (variant< Choices... > &) |
This is a look-alike for the std::variant type. The most common usages of this type have been implemented, but this is not a general implementation. For example, this doesn't throw exceptions and instead asserts.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |