STLdoc
STLdocumentation
|
#include <initializer_list>
#include <typeinfo>
#include <type_traits>
#include <utility>
#include <xmemory0>
Classes | |
class | bad_any_cast |
struct | _Any_big_RTTI |
struct | _Any_small_RTTI |
class | any |
struct | any::_Small_storage_t |
struct | any::_Big_storage_t |
struct | any::_Storage_t |
Macros | |
#define | _ANY_ |
Typedefs | |
template<class _Ty > | |
using | _Any_is_trivial = bool_constant< alignof(_Ty)<=alignof(max_align_t)&&is_trivially_copyable< _Ty >::value &&sizeof(_Ty)<=_Any_trivial_space_size > |
template<class _Ty > | |
using | _Any_is_small = bool_constant< alignof(_Ty)<=alignof(max_align_t)&&is_nothrow_move_constructible< _Ty >::value &&sizeof(_Ty)<=_Any_small_space_size > |
template<class _Ty > | |
using | _Any_is_function_or_array = bool_constant< is_function< _Ty >::value||is_array< _Ty >::value > |
Enumerations | |
enum | _Any_representation : uintptr_t { _Any_representation::_Trivial, _Any_representation::_Big, _Any_representation::_Small } |
Functions | |
void | swap (any &_Left, any &_Right) _NOEXCEPT |
template<class _ValueType , class... _Types> | |
any | make_any (_Types &&..._Args) |
template<class _ValueType , class _Elem , class... _Types> | |
any | make_any (initializer_list< _Elem > _Ilist, _Types &&..._Args) |
template<class _ValueType > | |
const _ValueType * | _Any_cast1 (const any *, true_type) _NOEXCEPT |
template<class _ValueType > | |
_ValueType * | _Any_cast1 (any *, true_type) _NOEXCEPT |
template<class _ValueType > | |
const _ValueType * | _Any_cast1 (const any *const _Any, false_type) _NOEXCEPT |
template<class _ValueType > | |
_ValueType * | _Any_cast1 (any *const _Any, false_type) _NOEXCEPT |
template<class _ValueType > | |
const _ValueType * | any_cast (const any *const _Any) _NOEXCEPT |
template<class _ValueType > | |
_ValueType * | any_cast (any *const _Any) _NOEXCEPT |
template<class _Ty > | |
_Ty | any_cast (const any &_Any) |
template<class _Ty > | |
_Ty | any_cast (any &_Any) |
template<class _Ty > | |
_Ty | any_cast (any &&_Any) |
Variables | |
constexpr size_t | _Any_trivial_space_size = (_Small_object_num_ptrs - 1) * sizeof(void *) |
constexpr size_t | _Any_small_space_size = (_Small_object_num_ptrs - 2) * sizeof(void *) |
template<class _Ty > | |
constexpr _Any_big_RTTI | _Any_big_RTTI_obj |
template<class _Ty > | |
constexpr _Any_small_RTTI | _Any_small_RTTI_obj |
#define _ANY_ |
using _Any_is_function_or_array = bool_constant<is_function<_Ty>::value || is_array<_Ty>::value> |
using _Any_is_small = bool_constant< alignof(_Ty) <= alignof(max_align_t) && is_nothrow_move_constructible<_Ty>::value && sizeof(_Ty) <= _Any_small_space_size> |
using _Any_is_trivial = bool_constant< alignof(_Ty) <= alignof(max_align_t) && is_trivially_copyable<_Ty>::value && sizeof(_Ty) <= _Any_trivial_space_size> |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
constexpr _Any_big_RTTI _Any_big_RTTI_obj |
constexpr _Any_small_RTTI _Any_small_RTTI_obj |
constexpr size_t _Any_small_space_size = (_Small_object_num_ptrs - 2) * sizeof(void *) |
constexpr size_t _Any_trivial_space_size = (_Small_object_num_ptrs - 1) * sizeof(void *) |