|
| | any () |
| |
| bool | has_value () const noexcept |
| |
| void | reset () noexcept |
| |
| void | swap (any &other) noexcept |
| |
| const std::type_info & | type () const noexcept |
| |
| template<class ValueType , class... Args, typename = std::enable_if_t< std::is_constructible_v<ValueType, remove_cv_ref_t<Args>...>>> |
| enable_if_in_list_t< ValueType, element_types_t, std::decay_t< ValueType > & > | emplace (Args &&... args) |
| |
| template<class ValueType , class U , class... Args> |
| enable_if_in_list_t< ValueType, element_types_t, std::decay_t< ValueType > & > | emplace (std::initializer_list< U > il, Args &&... args) |
| |
| std::string | current_type () const noexcept |
| |
| std::any & | std () noexcept |
| |
| const std::any & | std () const noexcept |
| |
| constexpr auto | allowed_types () const noexcept |
| |
| variant_t | to_variant () const noexcept |
| |
| template<typename Type , typename = enable_if_in_list_t<decay_remove_cv_ref_t<Type>, element_types_t>> |
| | any (Type &&arg) |
| |
| | any (const any &)=default |
| |
| | any (any &&rhs)=default |
| |
| any & | operator= (const any &)=default |
| |
| any & | operator= (any &&)=default |
| |
| template<typename Type , typename = enable_if_in_list_t<decay_remove_cv_ref_t<Type>, element_types_t>> |
| any & | operator= (Type &&arg) |
| |
| any & | operator= (const std::variant< ElementTypes... > &v) |
| |
| template<typename Type , typename = enable_if_in_list_t<remove_cv_ref_t<Type>, element_pointer_types_t>> |
| Type | get () |
| |
| template<typename Type , typename = enable_if_in_list_t<remove_cv_ref_t<Type>, element_pointer_types_t>> |
| Type | get () const |
| |
| template<typename Type , typename = enable_if_in_list_t<remove_cv_ref_t<Type>, element_types_t>> |
| | operator Type & () |
| |
| template<typename Type , typename = enable_if_in_list_t<remove_cv_ref_t<Type>, element_types_t>> |
| | operator const Type & () const |
| |
| template<typename CurrentType , typename CallbackType , typename... ArgTypes, typename = enable_if_in_list_t<CurrentType, element_types_t>> |
| bool | if_any_type (CallbackType &&callback, ArgTypes &&... args) |
| |
| template<typename CurrentType , typename CallbackType , typename... ArgTypes, typename = enable_if_in_list_t<CurrentType, element_types_t>> |
| bool | if_any_type (CallbackType &&callback, ArgTypes &&... args) const |
| |
| template<auto TypeIndex, typename CallbackType , typename... ArgTypes, typename any_type = types::any<ElementTypes...>, typename element_types = typename any_type::element_types_t, typename CurrentType = select_nth_type_t<TypeIndex, element_types>, typename = enable_if_in_list_t<CurrentType, element_types_t>> |
| void | if_any_index (CallbackType &&callback, ArgTypes &&... args) |
| |
| template<auto TypeIndex, typename CallbackType , typename... ArgTypes, typename any_type = types::any<ElementTypes...>, typename element_types = typename any_type::element_types_t, typename CurrentType = select_nth_type_t<TypeIndex, element_types>, typename = enable_if_in_list_t<CurrentType, element_types_t>> |
| bool | if_any_index (CallbackType &&callback, ArgTypes &&... args) const |
| |
| virtual | ~any () |
| |
| template<typename Type , typename = enable_if_in_list_t<remove_cv_ref_t<Type>, element_types_t>> |
| any & | operator+= (Type &&arg) |
| |
| template<typename Type , typename = enable_if_in_list_t<remove_cv_ref_t<Type>, element_types_t>> |
| any & | operator-= (Type &&arg) |
| |
| template<typename Type , typename = enable_if_in_list_t<remove_cv_ref_t<Type>, element_types_t>> |
| any & | operator*= (Type &&arg) |
| |
| template<typename Type , typename = enable_if_in_list_t<remove_cv_ref_t<Type>, element_types_t>> |
| any & | operator/= (Type &&arg) |
| |
template<typename... ElementTypes>
class tpf::types::any< ElementTypes >
Definition at line 64 of file tpf_any.hpp.