#include <cstddef>
#include <utility>
#include <cassert>
Go to the source code of this file.
Namespaces | |
nonstd | |
nonstd::detail | |
nonstd::any_lite | |
nonstd::any_lite::std11 | |
nonstd::any_lite::detail | |
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 >()) |
void | nonstd::any_lite::swap (any &x, any &y) any_noexcept |
template<class ValueType > | |
any_nodiscard ValueType | nonstd::any_lite::any_cast (any const &operand) |
template<class ValueType > | |
any_nodiscard ValueType | nonstd::any_lite::any_cast (any &operand) |
template<class ValueType > | |
any_nodiscard ValueType const * | nonstd::any_lite::any_cast (any const *operand) any_noexcept |
template<class ValueType > | |
any_nodiscard ValueType * | nonstd::any_lite::any_cast (any *operand) any_noexcept |
#define NONSTD_ANY_LITE_HPP |
Definition at line 12 of file any-lite.hpp.
#define any_lite_MAJOR 0 |
Definition at line 14 of file any-lite.hpp.
#define any_lite_MINOR 4 |
Definition at line 15 of file any-lite.hpp.
#define any_lite_PATCH 0 |
Definition at line 16 of file any-lite.hpp.
#define any_lite_VERSION any_STRINGIFY(any_lite_MAJOR) "." any_STRINGIFY(any_lite_MINOR) "." any_STRINGIFY(any_lite_PATCH) |
Definition at line 18 of file any-lite.hpp.
#define any_STRINGIFY | ( | x | ) | any_STRINGIFY_( x ) |
Definition at line 20 of file any-lite.hpp.
#define any_STRINGIFY_ | ( | x | ) | #x |
Definition at line 21 of file any-lite.hpp.
#define any_ANY_DEFAULT 0 |
Definition at line 25 of file any-lite.hpp.
#define any_ANY_NONSTD 1 |
Definition at line 26 of file any-lite.hpp.
#define any_ANY_STD 2 |
Definition at line 27 of file any-lite.hpp.
#define any_HAVE_TWEAK_HEADER 0 |
Definition at line 37 of file any-lite.hpp.
#define any_CONFIG_SELECT_ANY ( any_HAVE_STD_ANY ? any_ANY_STD : any_ANY_NONSTD ) |
Definition at line 44 of file any-lite.hpp.
#define any_CONFIG_NO_EXCEPTIONS 1 |
Definition at line 56 of file any-lite.hpp.
#define any_CPLUSPLUS __cplusplus |
Definition at line 67 of file any-lite.hpp.
#define any_CPP98_OR_GREATER ( any_CPLUSPLUS >= 199711L ) |
Definition at line 71 of file any-lite.hpp.
#define any_CPP11_OR_GREATER ( any_CPLUSPLUS >= 201103L ) |
Definition at line 72 of file any-lite.hpp.
#define any_CPP14_OR_GREATER ( any_CPLUSPLUS >= 201402L ) |
Definition at line 73 of file any-lite.hpp.
#define any_CPP17_OR_GREATER ( any_CPLUSPLUS >= 201703L ) |
Definition at line 74 of file any-lite.hpp.
#define any_CPP20_OR_GREATER ( any_CPLUSPLUS >= 202000L ) |
Definition at line 75 of file any-lite.hpp.
#define any_HAVE_STD_ANY 0 |
Definition at line 86 of file any-lite.hpp.
#define any_USES_STD_ANY ( (any_CONFIG_SELECT_ANY == any_ANY_STD) || ((any_CONFIG_SELECT_ANY == any_ANY_DEFAULT) && any_HAVE_STD_ANY) ) |
Definition at line 89 of file any-lite.hpp.
#define nonstd_lite_HAVE_IN_PLACE_TYPES 1 |
Definition at line 96 of file any-lite.hpp.
#define nonstd_lite_in_place_t | ( | T | ) | nonstd::in_place_t(&)( nonstd::detail::in_place_type_tag<T> ) |
Definition at line 166 of file any-lite.hpp.
#define nonstd_lite_in_place_type_t | ( | T | ) | nonstd::in_place_t(&)( nonstd::detail::in_place_type_tag<T> ) |
Definition at line 167 of file any-lite.hpp.
Referenced by nonstd::any_lite::any::any().
#define nonstd_lite_in_place_index_t | ( | K | ) | nonstd::in_place_t(&)( nonstd::detail::in_place_index_tag<K> ) |
Definition at line 168 of file any-lite.hpp.
#define nonstd_lite_in_place | ( | T | ) | nonstd::in_place_type<T> |
Definition at line 170 of file any-lite.hpp.
#define nonstd_lite_in_place_type | ( | T | ) | nonstd::in_place_type<T> |
Definition at line 171 of file any-lite.hpp.
Referenced by nonstd::any_lite::swap().
#define nonstd_lite_in_place_index | ( | K | ) | nonstd::in_place_index<K> |
Definition at line 172 of file any-lite.hpp.
#define any_COMPILER_MSVC_VER 0 |
Definition at line 219 of file any-lite.hpp.
#define any_COMPILER_MSVC_VERSION 0 |
Definition at line 220 of file any-lite.hpp.
#define any_COMPILER_VERSION | ( | major, | |
minor, | |||
patch | |||
) | ( 10 * ( 10 * (major) + (minor) ) + (patch) ) |
Definition at line 223 of file any-lite.hpp.
#define any_COMPILER_CLANG_VERSION 0 |
Definition at line 228 of file any-lite.hpp.
#define any_COMPILER_GNUC_VERSION 0 |
Definition at line 234 of file any-lite.hpp.
#define any_HAVE | ( | feature | ) | ( any_HAVE_##feature ) |
Definition at line 242 of file any-lite.hpp.
#define any_HAS_CPP0X 0 |
Definition at line 247 of file any-lite.hpp.
#define any_CPP11_90 (any_CPP11_OR_GREATER || any_COMPILER_MSVC_VER >= 1500) |
Definition at line 250 of file any-lite.hpp.
#define any_CPP11_100 (any_CPP11_OR_GREATER || any_COMPILER_MSVC_VER >= 1600) |
Definition at line 251 of file any-lite.hpp.
#define any_CPP11_120 (any_CPP11_OR_GREATER || any_COMPILER_MSVC_VER >= 1800) |
Definition at line 252 of file any-lite.hpp.
#define any_CPP11_140 (any_CPP11_OR_GREATER || any_COMPILER_MSVC_VER >= 1900) |
Definition at line 253 of file any-lite.hpp.
#define any_CPP14_000 (any_CPP14_OR_GREATER) |
Definition at line 255 of file any-lite.hpp.
#define any_CPP17_000 (any_CPP17_OR_GREATER) |
Definition at line 256 of file any-lite.hpp.
#define any_HAVE_CONSTEXPR_11 any_CPP11_140 |
Definition at line 260 of file any-lite.hpp.
#define any_HAVE_DEFAULT_FUNCTION_TEMPLATE_ARG any_CPP11_120 |
Definition at line 261 of file any-lite.hpp.
#define any_HAVE_INITIALIZER_LIST any_CPP11_120 |
Definition at line 263 of file any-lite.hpp.
#define any_HAVE_NOEXCEPT any_CPP11_140 |
Definition at line 264 of file any-lite.hpp.
#define any_HAVE_NULLPTR any_CPP11_100 |
Definition at line 265 of file any-lite.hpp.
#define any_HAVE_TYPE_TRAITS any_CPP11_90 |
Definition at line 266 of file any-lite.hpp.
#define any_HAVE_STATIC_ASSERT any_CPP11_100 |
Definition at line 267 of file any-lite.hpp.
#define any_HAVE_ADD_CONST any_CPP11_90 |
Definition at line 268 of file any-lite.hpp.
#define any_HAVE_OVERRIDE any_CPP11_90 |
Definition at line 269 of file any-lite.hpp.
#define any_HAVE_REMOVE_REFERENCE any_CPP11_90 |
Definition at line 270 of file any-lite.hpp.
#define any_HAVE_TR1_ADD_CONST (!! any_COMPILER_GNUC_VERSION ) |
Definition at line 272 of file any-lite.hpp.
#define any_HAVE_TR1_REMOVE_REFERENCE (!! any_COMPILER_GNUC_VERSION ) |
Definition at line 273 of file any-lite.hpp.
#define any_HAVE_TR1_TYPE_TRAITS (!! any_COMPILER_GNUC_VERSION ) |
Definition at line 274 of file any-lite.hpp.
#define any_HAVE_CONSTEXPR_14 any_CPP14_000 |
Definition at line 278 of file any-lite.hpp.
#define any_HAVE_NODISCARD any_CPP17_000 |
Definition at line 282 of file any-lite.hpp.
#define any_constexpr /*constexpr*/ |
Definition at line 289 of file any-lite.hpp.
#define any_constexpr14 /*constexpr*/ |
Definition at line 295 of file any-lite.hpp.
#define any_noexcept /*noexcept*/ |
Definition at line 301 of file any-lite.hpp.
Referenced by nonstd::any_lite::any::any(), and nonstd::any_lite::any::operator=().
#define any_nullptr NULL |
Definition at line 307 of file any-lite.hpp.
Referenced by nonstd::any_lite::any::any(), nonstd::any_lite::any_cast(), nonstd::any_lite::any::has_value(), and nonstd::any_lite::any::reset().
#define any_nodiscard /*[[nodiscard]]*/ |
Definition at line 313 of file any-lite.hpp.
Referenced by nonstd::any_lite::any_cast().
#define any_override /*override*/ |
Definition at line 319 of file any-lite.hpp.
Referenced by nonstd::any_lite::any::to_ptr().