#include <cstddef>
#include <limits>
#include <new>
#include <utility>
#include <cassert>
Go to the source code of this file.
Namespaces | |
nonstd | |
nonstd::detail | |
nonstd::variants | |
nonstd::variants::detail | |
nonstd::variants::std11 | |
nonstd::variants::std17 | |
type traits C++17: | |
Typedefs | |
typedef TX< S0 > | nonstd::variants::detail::T0 |
typedef TX< S1 > | nonstd::variants::detail::T1 |
typedef TX< S2 > | nonstd::variants::detail::T2 |
typedef TX< S3 > | nonstd::variants::detail::T3 |
typedef TX< S4 > | nonstd::variants::detail::T4 |
typedef TX< S5 > | nonstd::variants::detail::T5 |
typedef TX< S6 > | nonstd::variants::detail::T6 |
typedef TX< S7 > | nonstd::variants::detail::T7 |
typedef TX< S8 > | nonstd::variants::detail::T8 |
typedef TX< S9 > | nonstd::variants::detail::T9 |
typedef TX< S10 > | nonstd::variants::detail::T10 |
typedef TX< S11 > | nonstd::variants::detail::T11 |
typedef TX< S12 > | nonstd::variants::detail::T12 |
typedef TX< S13 > | nonstd::variants::detail::T13 |
typedef TX< S14 > | nonstd::variants::detail::T14 |
typedef TX< S15 > | nonstd::variants::detail::T15 |
typedef nulltype | nonstd::variants::detail::alignment_types |
Functions | |
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 >()) |
template<std::size_t K> | |
void | nonstd::variants::detail::index_tag (index_tag_t< K >=index_tag_t< 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 (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) |
Variables | |
static const std::size_t | nonstd::variants::variant_npos = static_cast<std::size_t>( -1 ) |
#define NONSTD_VARIANT_LITE_HPP |
Definition at line 11 of file variant-lite.hpp.
#define variant_lite_MAJOR 2 |
Definition at line 13 of file variant-lite.hpp.
#define variant_lite_MINOR 0 |
Definition at line 14 of file variant-lite.hpp.
#define variant_lite_PATCH 0 |
Definition at line 15 of file variant-lite.hpp.
#define variant_lite_VERSION variant_STRINGIFY(variant_lite_MAJOR) "." variant_STRINGIFY(variant_lite_MINOR) "." variant_STRINGIFY(variant_lite_PATCH) |
Definition at line 17 of file variant-lite.hpp.
#define variant_STRINGIFY | ( | x | ) | variant_STRINGIFY_( x ) |
Definition at line 19 of file variant-lite.hpp.
#define variant_STRINGIFY_ | ( | x | ) | #x |
Definition at line 20 of file variant-lite.hpp.
#define variant_VARIANT_DEFAULT 0 |
Definition at line 24 of file variant-lite.hpp.
#define variant_VARIANT_NONSTD 1 |
Definition at line 25 of file variant-lite.hpp.
#define variant_VARIANT_STD 2 |
Definition at line 26 of file variant-lite.hpp.
#define variant_HAVE_TWEAK_HEADER 0 |
Definition at line 36 of file variant-lite.hpp.
#define variant_CONFIG_OMIT_VARIANT_SIZE_V_MACRO 0 |
Definition at line 43 of file variant-lite.hpp.
#define variant_CONFIG_OMIT_VARIANT_ALTERNATIVE_T_MACRO 0 |
Definition at line 47 of file variant-lite.hpp.
#define variant_CONFIG_NO_EXCEPTIONS 1 |
Definition at line 59 of file variant-lite.hpp.
#define variant_CPLUSPLUS __cplusplus |
Definition at line 70 of file variant-lite.hpp.
#define variant_CPP98_OR_GREATER ( variant_CPLUSPLUS >= 199711L ) |
Definition at line 74 of file variant-lite.hpp.
#define variant_CPP11_OR_GREATER ( variant_CPLUSPLUS >= 201103L ) |
Definition at line 75 of file variant-lite.hpp.
#define variant_CPP11_OR_GREATER_ ( variant_CPLUSPLUS >= 201103L ) |
Definition at line 76 of file variant-lite.hpp.
#define variant_CPP14_OR_GREATER ( variant_CPLUSPLUS >= 201402L ) |
Definition at line 77 of file variant-lite.hpp.
#define variant_CPP17_OR_GREATER ( variant_CPLUSPLUS >= 201703L ) |
Definition at line 78 of file variant-lite.hpp.
#define variant_CPP20_OR_GREATER ( variant_CPLUSPLUS >= 202000L ) |
Definition at line 79 of file variant-lite.hpp.
#define variant_HAVE_STD_VARIANT 0 |
Definition at line 90 of file variant-lite.hpp.
#define variant_CONFIG_SELECT_VARIANT ( variant_HAVE_STD_VARIANT ? variant_VARIANT_STD : variant_VARIANT_NONSTD ) |
Definition at line 94 of file variant-lite.hpp.
#define variant_USES_STD_VARIANT ( (variant_CONFIG_SELECT_VARIANT == variant_VARIANT_STD) || ((variant_CONFIG_SELECT_VARIANT == variant_VARIANT_DEFAULT) && variant_HAVE_STD_VARIANT) ) |
Definition at line 97 of file variant-lite.hpp.
#define nonstd_lite_HAVE_IN_PLACE_TYPES 1 |
Definition at line 104 of file variant-lite.hpp.
#define nonstd_lite_in_place_t | ( | T | ) | nonstd::in_place_t(&)( nonstd::detail::in_place_type_tag<T> ) |
Definition at line 174 of file variant-lite.hpp.
#define nonstd_lite_in_place_type_t | ( | T | ) | nonstd::in_place_t(&)( nonstd::detail::in_place_type_tag<T> ) |
Definition at line 175 of file variant-lite.hpp.
Referenced by nonstd::variants::get(), and nonstd::variants::variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 >::variant().
#define nonstd_lite_in_place_index_t | ( | K | ) | nonstd::in_place_t(&)( nonstd::detail::in_place_index_tag<K> ) |
Definition at line 176 of file variant-lite.hpp.
Referenced by nonstd::variants::get(), and nonstd::variants::variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 >::variant().
#define nonstd_lite_in_place | ( | T | ) | nonstd::in_place_type<T> |
Definition at line 178 of file variant-lite.hpp.
#define nonstd_lite_in_place_type | ( | T | ) | nonstd::in_place_type<T> |
Definition at line 179 of file variant-lite.hpp.
Referenced by nonstd::variants::get().
#define nonstd_lite_in_place_index | ( | K | ) | nonstd::in_place_index<K> |
Definition at line 180 of file variant-lite.hpp.
Referenced by nonstd::variants::get().
#define variant_index_tag_t | ( | K | ) | void(&)( nonstd::variants::detail::index_tag_t<K> ) |
#define variant_index_tag | ( | K | ) | nonstd::variants::detail::index_tag<K> |
#define variant_CONFIG_MAX_TYPE_COUNT 16 |
Definition at line 264 of file variant-lite.hpp.
#define variant_CONFIG_MAX_VISITOR_ARG_COUNT 5 |
Definition at line 265 of file variant-lite.hpp.
#define variant_CONFIG_MAX_ALIGN_HACK 0 |
Definition at line 270 of file variant-lite.hpp.
#define variant_CONFIG_ALIGN_AS_FALLBACK double |
Definition at line 278 of file variant-lite.hpp.
#define variant_BETWEEN | ( | v, | |
lo, | |||
hi | |||
) | ( (lo) <= (v) && (v) < (hi) ) |
Definition at line 282 of file variant-lite.hpp.
#define variant_COMPILER_MSVC_VER 0 |
Definition at line 302 of file variant-lite.hpp.
#define variant_COMPILER_MSVC_VERSION 0 |
Definition at line 303 of file variant-lite.hpp.
#define variant_COMPILER_VERSION | ( | major, | |
minor, | |||
patch | |||
) | ( 10 * ( 10 * (major) + (minor) ) + (patch) ) |
Definition at line 306 of file variant-lite.hpp.
#define variant_COMPILER_CLANG_VERSION 0 |
Definition at line 311 of file variant-lite.hpp.
#define variant_COMPILER_GNUC_VERSION 0 |
Definition at line 317 of file variant-lite.hpp.
#define variant_HAVE | ( | feature | ) | ( variant_HAVE_##feature ) |
Definition at line 327 of file variant-lite.hpp.
#define variant_HAS_CPP0X 0 |
Definition at line 332 of file variant-lite.hpp.
#define variant_CPP11_90 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1500) |
Definition at line 342 of file variant-lite.hpp.
#define variant_CPP11_100 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1600) |
Definition at line 343 of file variant-lite.hpp.
#define variant_CPP11_110 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1700) |
Definition at line 344 of file variant-lite.hpp.
#define variant_CPP11_120 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1800) |
Definition at line 345 of file variant-lite.hpp.
#define variant_CPP11_140 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1900) |
Definition at line 346 of file variant-lite.hpp.
#define variant_CPP11_141 (variant_CPP11_OR_GREATER_ || variant_COMPILER_MSVC_VER >= 1910) |
Definition at line 347 of file variant-lite.hpp.
#define variant_CPP14_000 (variant_CPP14_OR_GREATER) |
Definition at line 349 of file variant-lite.hpp.
#define variant_CPP17_000 (variant_CPP17_OR_GREATER) |
Definition at line 350 of file variant-lite.hpp.
#define variant_HAVE_CONSTEXPR_11 variant_CPP11_140 |
Definition at line 354 of file variant-lite.hpp.
#define variant_HAVE_INITIALIZER_LIST variant_CPP11_120 |
Definition at line 355 of file variant-lite.hpp.
#define variant_HAVE_NOEXCEPT variant_CPP11_140 |
Definition at line 356 of file variant-lite.hpp.
#define variant_HAVE_NULLPTR variant_CPP11_100 |
Definition at line 357 of file variant-lite.hpp.
#define variant_HAVE_OVERRIDE variant_CPP11_140 |
Definition at line 358 of file variant-lite.hpp.
#define variant_HAVE_CONSTEXPR_14 variant_CPP14_000 |
Definition at line 362 of file variant-lite.hpp.
#define variant_HAVE_CONDITIONAL variant_CPP11_120 |
Definition at line 370 of file variant-lite.hpp.
#define variant_HAVE_REMOVE_CV variant_CPP11_120 |
Definition at line 371 of file variant-lite.hpp.
#define variant_HAVE_STD_ADD_POINTER variant_CPP11_90 |
Definition at line 372 of file variant-lite.hpp.
#define variant_HAVE_TYPE_TRAITS variant_CPP11_90 |
Definition at line 373 of file variant-lite.hpp.
#define variant_HAVE_ENABLE_IF variant_CPP11_90 |
Definition at line 374 of file variant-lite.hpp.
#define variant_HAVE_IS_SAME variant_CPP11_90 |
Definition at line 375 of file variant-lite.hpp.
#define variant_HAVE_TR1_TYPE_TRAITS (!! variant_COMPILER_GNUC_VERSION ) |
Definition at line 377 of file variant-lite.hpp.
#define variant_HAVE_TR1_ADD_POINTER (!! variant_COMPILER_GNUC_VERSION ) |
Definition at line 378 of file variant-lite.hpp.
#define variant_constexpr /*constexpr*/ |
Definition at line 385 of file variant-lite.hpp.
Referenced by nonstd::variants::variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 >::get().
#define variant_constexpr14 /*constexpr*/ |
Definition at line 391 of file variant-lite.hpp.
#define variant_noexcept /*noexcept*/ |
Definition at line 397 of file variant-lite.hpp.
Referenced by nonstd::variants::variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 >::get(), and nonstd::variants::operator>=().
#define variant_nullptr NULL |
Definition at line 403 of file variant-lite.hpp.
Referenced by nonstd::variants::get_if(), and nonstd::variants::detail::TX< T >::operator &().
#define variant_override /*override*/ |
Definition at line 409 of file variant-lite.hpp.
#define variant_REQUIRES_0 | ( | ... | ) | template< bool B = (__VA_ARGS__), typename std11::enable_if<B, int>::type = 0 > |
Definition at line 544 of file variant-lite.hpp.
#define variant_REQUIRES_B | ( | ... | ) | , bool B = (__VA_ARGS__), typename std11::enable_if<B, int>::type = 0 |
#define variant_TL1 | ( | T1 | ) | detail::typelist< T1, detail::nulltype > |
Definition at line 611 of file variant-lite.hpp.
#define variant_TL2 | ( | T1, | |
T2 | |||
) | detail::typelist< T1, variant_TL1( T2) > |
Definition at line 612 of file variant-lite.hpp.
#define variant_TL3 | ( | T1, | |
T2, | |||
T3 | |||
) | detail::typelist< T1, variant_TL2( T2, T3) > |
Definition at line 613 of file variant-lite.hpp.
#define variant_TL4 | ( | T1, | |
T2, | |||
T3, | |||
T4 | |||
) | detail::typelist< T1, variant_TL3( T2, T3, T4) > |
Definition at line 614 of file variant-lite.hpp.
#define variant_TL5 | ( | T1, | |
T2, | |||
T3, | |||
T4, | |||
T5 | |||
) | detail::typelist< T1, variant_TL4( T2, T3, T4, T5) > |
Definition at line 615 of file variant-lite.hpp.
#define variant_TL6 | ( | T1, | |
T2, | |||
T3, | |||
T4, | |||
T5, | |||
T6 | |||
) | detail::typelist< T1, variant_TL5( T2, T3, T4, T5, T6) > |
Definition at line 616 of file variant-lite.hpp.
#define variant_TL7 | ( | T1, | |
T2, | |||
T3, | |||
T4, | |||
T5, | |||
T6, | |||
T7 | |||
) | detail::typelist< T1, variant_TL6( T2, T3, T4, T5, T6, T7) > |
Definition at line 617 of file variant-lite.hpp.
#define variant_TL8 | ( | T1, | |
T2, | |||
T3, | |||
T4, | |||
T5, | |||
T6, | |||
T7, | |||
T8 | |||
) | detail::typelist< T1, variant_TL7( T2, T3, T4, T5, T6, T7, T8) > |
Definition at line 618 of file variant-lite.hpp.
#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) > |
Definition at line 619 of file variant-lite.hpp.
#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) > |
Definition at line 620 of file variant-lite.hpp.
#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) > |
Definition at line 621 of file variant-lite.hpp.
#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) > |
Definition at line 622 of file variant-lite.hpp.
#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) > |
Definition at line 623 of file variant-lite.hpp.
#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) > |
Definition at line 624 of file variant-lite.hpp.
#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) > |
Definition at line 625 of file variant-lite.hpp.
#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) > |
Definition at line 626 of file variant-lite.hpp.
#define variant_ALIGN_AS | ( | to_align | ) | typename detail::type_of_size< detail::alignment_types, detail::alignment_of< to_align >::value >::type |
Definition at line 908 of file variant-lite.hpp.
Referenced by nonstd::variants::variant< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 >::get().
#define variant_ALIGN_TYPE | ( | type | ) | typelist< type , typelist< struct_t< type > |
Definition at line 953 of file variant-lite.hpp.
#define variant_size_V | ( | T | ) | nonstd::variant_size<T>::value |
Definition at line 1230 of file variant-lite.hpp.
#define variant_alternative_T | ( | K, | |
T | |||
) | typename nonstd::variant_alternative<K,T >::type |
Definition at line 1250 of file variant-lite.hpp.