|
libstdc++
|
Public Member Functions | |
| any () noexcept | |
| any (const any &__other) | |
| any (any &&__other) noexcept | |
| template<typename _ValueType , typename _Tp = _Decay<_ValueType>, typename _Mgr = _Manager<_Tp>, typename enable_if< is_constructible< _Tp, _ValueType && >::value, bool >::type = true> | |
| any (_ValueType &&__value) | |
| template<typename _ValueType , typename _Tp = _Decay<_ValueType>, typename _Mgr = _Manager<_Tp>, typename enable_if<!is_constructible< _Tp, _ValueType && >::value, bool >::type = false> | |
| any (_ValueType &&__value) | |
| ~any () | |
| void | clear () noexcept |
| bool | empty () const noexcept |
| any & | operator= (const any &__rhs) |
| any & | operator= (any &&__rhs) noexcept |
| template<typename _ValueType > | |
| enable_if_t<!is_same< any, decay_t< _ValueType > >::value, any & > | operator= (_ValueType &&__rhs) |
| void | swap (any &__rhs) noexcept |
| const type_info & | type () const noexcept |
Static Public Member Functions | |
| template<typename _Tp > | |
| static constexpr bool | __is_valid_cast () |
Friends | |
| template<typename _Tp > | |
| void * | __any_caster (const any *__any) |
A type-safe container of any type.
An any object's state is either empty or it stores a contained object of CopyConstructible type.
| std::experimental::fundamentals_v1::any::any | ( | ) | [inline] |
Default constructor, creates an empty object.
Definition at line 128 of file any.
Referenced by operator=().
| std::experimental::fundamentals_v1::any::any | ( | const any & | __other | ) | [inline] |
| std::experimental::fundamentals_v1::any::any | ( | any && | __other | ) | [inline] |
| std::experimental::fundamentals_v1::any::any | ( | _ValueType && | __value | ) | [inline] |
| std::experimental::fundamentals_v1::any::any | ( | _ValueType && | __value | ) | [inline] |
| std::experimental::fundamentals_v1::any::~any | ( | ) | [inline] |
| void std::experimental::fundamentals_v1::any::clear | ( | ) | [inline] |
If not empty, destroy the contained object.
Definition at line 239 of file any.
References empty().
Referenced by operator=(), and ~any().
| bool std::experimental::fundamentals_v1::any::empty | ( | ) | const [inline] |
| void std::experimental::fundamentals_v1::any::swap | ( | any & | __rhs | ) | [inline] |
| const type_info& std::experimental::fundamentals_v1::any::type | ( | ) | const [inline] |