|
#define | NONSTD_VARIANT_LITE_HPP |
|
#define | variant_lite_MAJOR 1 |
|
#define | variant_lite_MINOR 1 |
|
#define | variant_lite_PATCH 0 |
|
#define | variant_lite_VERSION variant_STRINGIFY(variant_lite_MAJOR) "." variant_STRINGIFY(variant_lite_MINOR) "." variant_STRINGIFY(variant_lite_PATCH) |
|
#define | variant_STRINGIFY( x) variant_STRINGIFY_( x ) |
|
#define | variant_STRINGIFY_(x) #x |
|
#define | variant_VARIANT_DEFAULT 0 |
|
#define | variant_VARIANT_NONSTD 1 |
|
#define | variant_VARIANT_STD 2 |
|
#define | variant_CONFIG_SELECT_VARIANT ( variant_HAVE_STD_VARIANT ? variant_VARIANT_STD : variant_VARIANT_NONSTD ) |
|
#define | variant_CONFIG_OMIT_VARIANT_SIZE_V_MACRO 0 |
|
#define | variant_CONFIG_OMIT_VARIANT_ALTERNATIVE_T_MACRO 0 |
|
#define | variant_CONFIG_NO_EXCEPTIONS 1 |
|
#define | variant_CPLUSPLUS __cplusplus |
|
#define | variant_CPP98_OR_GREATER ( variant_CPLUSPLUS >= 199711L ) |
|
#define | variant_CPP11_OR_GREATER ( variant_CPLUSPLUS >= 201103L ) |
|
#define | variant_CPP11_OR_GREATER_ ( variant_CPLUSPLUS >= 201103L ) |
|
#define | variant_CPP14_OR_GREATER ( variant_CPLUSPLUS >= 201402L ) |
|
#define | variant_CPP17_OR_GREATER ( variant_CPLUSPLUS >= 201703L ) |
|
#define | variant_CPP20_OR_GREATER ( variant_CPLUSPLUS >= 202000L ) |
|
#define | variant_HAVE_STD_VARIANT 0 |
|
#define | variant_USES_STD_VARIANT ( (variant_CONFIG_SELECT_VARIANT == variant_VARIANT_STD) || ((variant_CONFIG_SELECT_VARIANT == variant_VARIANT_DEFAULT) && variant_HAVE_STD_VARIANT) ) |
|
#define | nonstd_lite_HAVE_IN_PLACE_TYPES 1 |
|
#define | nonstd_lite_in_place_t( T) nonstd::in_place_t(&)( nonstd::detail::in_place_type_tag<T> ) |
|
#define | nonstd_lite_in_place_type_t(T) nonstd::in_place_t(&)( nonstd::detail::in_place_type_tag<T> ) |
|
#define | nonstd_lite_in_place_index_t(K) nonstd::in_place_t(&)( nonstd::detail::in_place_index_tag<K> ) |
|
#define | nonstd_lite_in_place( T) nonstd::in_place_type<T> |
|
#define | nonstd_lite_in_place_type(T) nonstd::in_place_type<T> |
|
#define | nonstd_lite_in_place_index(K) nonstd::in_place_index<K> |
|
#define | variant_CONFIG_MAX_TYPE_COUNT 16 |
|
#define | variant_CONFIG_MAX_VISITOR_ARG_COUNT 5 |
|
#define | variant_CONFIG_MAX_ALIGN_HACK 0 |
|
#define | variant_CONFIG_ALIGN_AS_FALLBACK double |
|
#define | variant_BETWEEN(v, lo, hi) ( (lo) <= (v) && (v) < (hi) ) |
|
#define | variant_COMPILER_MSVC_VER 0 |
|
#define | variant_COMPILER_MSVC_VERSION 0 |
|
#define | variant_COMPILER_VERSION(major, minor, patch) ( 10 * ( 10 * (major) + (minor) ) + (patch) ) |
|
#define | variant_COMPILER_CLANG_VERSION 0 |
|
#define | variant_COMPILER_GNUC_VERSION 0 |
|
#define | variant_HAVE(feature) ( variant_HAVE_##feature ) |
|
#define | variant_HAS_CPP0X 0 |
|
#define | variant_CPP11_90 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1500) |
|
#define | variant_CPP11_100 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1600) |
|
#define | variant_CPP11_110 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1700) |
|
#define | variant_CPP11_120 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1800) |
|
#define | variant_CPP11_140 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1900) |
|
#define | variant_CPP11_141 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1910) |
|
#define | variant_CPP14_000 (variant_CPP14_OR_GREATER) |
|
#define | variant_CPP17_000 (variant_CPP17_OR_GREATER) |
|
#define | variant_HAVE_CONSTEXPR_11 variant_CPP11_140 |
|
#define | variant_HAVE_INITIALIZER_LIST variant_CPP11_120 |
|
#define | variant_HAVE_NOEXCEPT variant_CPP11_140 |
|
#define | variant_HAVE_NULLPTR variant_CPP11_100 |
|
#define | variant_HAVE_OVERRIDE variant_CPP11_140 |
|
#define | variant_HAVE_CONSTEXPR_14 variant_CPP14_000 |
|
#define | variant_HAVE_CONDITIONAL variant_CPP11_120 |
|
#define | variant_HAVE_REMOVE_CV variant_CPP11_120 |
|
#define | variant_HAVE_STD_ADD_POINTER variant_CPP11_90 |
|
#define | variant_HAVE_TYPE_TRAITS variant_CPP11_90 |
|
#define | variant_HAVE_TR1_TYPE_TRAITS (!! variant_COMPILER_GNUC_VERSION ) |
|
#define | variant_HAVE_TR1_ADD_POINTER (!! variant_COMPILER_GNUC_VERSION ) |
|
#define | variant_constexpr /*constexpr*/ |
|
#define | variant_constexpr14 /*constexpr*/ |
|
#define | variant_noexcept /*noexcept*/ |
|
#define | variant_nullptr NULL |
|
#define | variant_override /*override*/ |
|
#define | variant_TL1(T1) detail::typelist< T1, detail::nulltype > |
|
#define | variant_TL2(T1, T2) detail::typelist< T1, variant_TL1( T2) > |
|
#define | variant_TL3(T1, T2, T3) detail::typelist< T1, variant_TL2( T2, T3) > |
|
#define | variant_TL4(T1, T2, T3, T4) detail::typelist< T1, variant_TL3( T2, T3, T4) > |
|
#define | variant_TL5(T1, T2, T3, T4, T5) detail::typelist< T1, variant_TL4( T2, T3, T4, T5) > |
|
#define | variant_TL6(T1, T2, T3, T4, T5, T6) detail::typelist< T1, variant_TL5( T2, T3, T4, T5, T6) > |
|
#define | variant_TL7(T1, T2, T3, T4, T5, T6, T7) detail::typelist< T1, variant_TL6( T2, T3, T4, T5, T6, T7) > |
|
#define | variant_TL8(T1, T2, T3, T4, T5, T6, T7, T8) detail::typelist< T1, variant_TL7( T2, T3, T4, T5, T6, T7, T8) > |
|
#define | variant_TL9(T1, T2, T3, T4, T5, T6, T7, T8, T9) detail::typelist< T1, variant_TL8( T2, T3, T4, T5, T6, T7, T8, T9) > |
|
#define | variant_TL10(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) detail::typelist< T1, variant_TL9( T2, T3, T4, T5, T6, T7, T8, T9, T10) > |
|
#define | variant_TL11(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) detail::typelist< T1, variant_TL10( T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) > |
|
#define | variant_TL12(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) detail::typelist< T1, variant_TL11( T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) > |
|
#define | variant_TL13(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) detail::typelist< T1, variant_TL12( T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) > |
|
#define | variant_TL14(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) detail::typelist< T1, variant_TL13( T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) > |
|
#define | variant_TL15(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) detail::typelist< T1, variant_TL14( T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) > |
|
#define | variant_TL16(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) detail::typelist< T1, variant_TL15( T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) > |
|
#define | variant_ALIGN_AS(to_align) typename detail::type_of_size< detail::alignment_types, detail::alignment_of< to_align >::value >::type |
|
#define | variant_ALIGN_TYPE(type) typelist< type , typelist< struct_t< type > |
|
#define | variant_size_V(T) nonstd::variant_size<T>::value |
|
#define | variant_alternative_T(K, T) typename nonstd::variant_alternative<K,T >::type |
|
|
template<class T > |
in_place_t | nonstd::in_place (detail::in_place_type_tag< T >=detail::in_place_type_tag< T >()) |
|
template<std::size_t K> |
in_place_t | nonstd::in_place (detail::in_place_index_tag< K >=detail::in_place_index_tag< K >()) |
|
template<class T > |
in_place_t | nonstd::in_place_type (detail::in_place_type_tag< T >=detail::in_place_type_tag< T >()) |
|
template<std::size_t K> |
in_place_t | nonstd::in_place_index (detail::in_place_index_tag< K >=detail::in_place_index_tag< K >()) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (char) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (short) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (int) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (long) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (float) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (double) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (long double) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (char *) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (short *) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (int *) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (long *) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (float *) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (double *) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (long double *) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (Unknown(*)(Unknown)) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (Unknown *Unknown::*) |
|
typedef | nonstd::variants::detail::variant_ALIGN_TYPE (Unknown(Unknown::*)(Unknown)) |
|
variant_constexpr bool | nonstd::variants::operator< (monostate, monostate) variant_noexcept |
|
variant_constexpr bool | nonstd::variants::operator> (monostate, monostate) variant_noexcept |
|
variant_constexpr bool | nonstd::variants::operator<= (monostate, monostate) variant_noexcept |
|
variant_constexpr bool | nonstd::variants::operator>= (monostate, monostate) variant_noexcept |
|
variant_constexpr bool | nonstd::variants::operator== (monostate, monostate) variant_noexcept |
|
variant_constexpr bool | nonstd::variants::operator!= (monostate, monostate) variant_noexcept |
|
template<class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
bool | nonstd::variants::holds_alternative (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &v) variant_noexcept |
|
template<class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
R & | nonstd::variants::get (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > &v, nonstd_lite_in_place_type_t(R)=nonstd_lite_in_place_type(R)) |
|
template<class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
R const & | nonstd::variants::get (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &v, nonstd_lite_in_place_type_t(R)=nonstd_lite_in_place_type(R)) |
|
template<std::size_t K, class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
variant_alternative< K, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > >::type & | nonstd::variants::get (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > &v, nonstd_lite_in_place_index_t(K)=nonstd_lite_in_place_index(K)) |
|
template<std::size_t K, class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
variant_alternative< K, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > >::type const & | nonstd::variants::get (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &v, nonstd_lite_in_place_index_t(K)=nonstd_lite_in_place_index(K)) |
|
template<class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
std11::add_pointer< T >::type | nonstd::variants::get_if (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > *pv, nonstd_lite_in_place_type_t(T)=nonstd_lite_in_place_type(T)) |
|
template<class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
std11::add_pointer< const T >::type | nonstd::variants::get_if (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const *pv, nonstd_lite_in_place_type_t(T)=nonstd_lite_in_place_type(T)) |
|
template<std::size_t K, class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
std11::add_pointer< typename variant_alternative< K, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > >::type >::type | nonstd::variants::get_if (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > *pv, nonstd_lite_in_place_index_t(K)=nonstd_lite_in_place_index(K)) |
|
template<std::size_t K, class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
std11::add_pointer< const typename variant_alternative< K, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > >::type >::type | nonstd::variants::get_if (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const *pv, nonstd_lite_in_place_index_t(K)=nonstd_lite_in_place_index(K)) |
|
template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
void | nonstd::variants::swap (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > &a, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > &b) |
|
template<typename R , typename Visitor , typename V1 > |
R | nonstd::variants::visit (const Visitor &v, V1 const &arg1) |
|
template<typename R , typename Visitor , typename V1 , typename V2 > |
R | nonstd::variants::visit (const Visitor &v, V1 const &arg1, V2 const &arg2) |
|
template<typename R , typename Visitor , typename V1 , typename V2 , typename V3 > |
R | nonstd::variants::visit (const Visitor &v, V1 const &arg1, V2 const &arg2, V3 const &arg3) |
|
template<typename R , typename Visitor , typename V1 , typename V2 , typename V3 , typename V4 > |
R | nonstd::variants::visit (const Visitor &v, V1 const &arg1, V2 const &arg2, V3 const &arg3, V4 const &arg4) |
|
template<typename R , typename Visitor , typename V1 , typename V2 , typename V3 , typename V4 , typename V5 > |
R | nonstd::variants::visit (const Visitor &v, V1 const &arg1, V2 const &arg2, V3 const &arg3, V4 const &arg4, V5 const &arg5) |
|
template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
bool | nonstd::variants::operator== (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &v, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &w) |
|
template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
bool | nonstd::variants::operator!= (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &v, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &w) |
|
template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
bool | nonstd::variants::operator< (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &v, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &w) |
|
template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
bool | nonstd::variants::operator> (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &v, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &w) |
|
template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
bool | nonstd::variants::operator<= (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &v, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &w) |
|
template<class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 > |
bool | nonstd::variants::operator>= (variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &v, variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 > const &w) |
|