![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
#include <tpf_types.hpp>
Public Types | |
using | visitors_t = std::tuple< CallbackTypes... > |
Public Member Functions | |
variant_visitors (CallbackTypes... visitors) | |
template<typename Type > | |
decltype(auto) | handle (Type &&item) |
template<typename ContainerType > | |
void | for_each (ContainerType &&container) |
template<typename ContainerType > | |
void | for_each_reverse (ContainerType &&container) |
template<typename ContainerType > | |
void | for_each_iterator (ContainerType &&container) |
template<typename ContainerType > | |
void | for_each_index (ContainerType &&container) |
template<typename ContainerType > | |
void | for_each_reverse_iterator (ContainerType &&container) |
template<typename ContainerType > | |
void | for_each_reverse_index (ContainerType &&container) |
template<typename VariantType > | |
std::enable_if_t< is_variant_v< remove_cv_ref_t< VariantType > > > | operator() (VariantType &&vt) |
template<typename PairType > | |
std::enable_if_t< is_pair_of_variant_v< remove_cv_ref_t< PairType > > > | operator() (PairType &&vt) |
Public Attributes | |
visitors_t | m_visitors |
Definition at line 7785 of file tpf_types.hpp.
using tpf::types::variant_visitors< CallbackTypes >::visitors_t = std::tuple<CallbackTypes...> |
Definition at line 7787 of file tpf_types.hpp.
|
inline |
Definition at line 7791 of file tpf_types.hpp.
|
inline |
|
inline |
Definition at line 7838 of file tpf_types.hpp.
|
inline |
Definition at line 7820 of file tpf_types.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
visitors_t tpf::types::variant_visitors< CallbackTypes >::m_visitors |
Definition at line 7789 of file tpf_types.hpp.