![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
Stream output operators << are implemented. More...
#include <tpf_types.hpp>
Go to the source code of this file.
Namespaces | |
namespace | tpf |
Includes subnamespace conversion. | |
namespace | tpf::types |
Type to string name conversions are defined. | |
namespace | tpf::types::hidden |
Implementations in this scope is meant NOT to be accessed directly by the client. | |
Macros | |
#define | NOMINMAX |
Typedefs | |
template<auto N, typename TypeAny > | |
using | tpf::types::any_element_t = select_nth_type_t< N, typename TypeAny::element_types_t > |
Functions | |
template<typename... CallbackTypes> | |
tpf::types::any_visitors (CallbackTypes...) -> any_visitors< CallbackTypes... > | |
template<typename Type , typename... Types> | |
any< Type, Types... > | tpf::types::variant_to_any (const std::variant< Type, Types... > &var) |
template<typename Type , typename... Types> | |
std::any | tpf::types::variant_to_std_any (const std::variant< Type, Types... > &var) |
template<typename... ElementTypes> | |
std::string | tpf::types::current_type (const any< ElementTypes... > &a) |
template<typename Visitors , typename AnyType , typename... ArgTypes> | |
void | tpf::types::visit_any (Visitors &&visitors, AnyType &&a, ArgTypes &&... args) |
template<typename CurrentType , typename AnyType , typename Handler , typename = std::enable_if<std::is_same_v<remove_cv_ref_t<AnyType>, std::any>>> | |
void | tpf::types::if_any_type (AnyType &&a, Handler &&handler) |
Variables | |
template<typename T > | |
constexpr bool | tpf::types::is_constrained_any_v = hidden::st_is_constrained_any<T>::value |
template<typename T > | |
constexpr bool | tpf::types::is_special_type_v = is_constrained_any_v<T> || is_variant_v<T> || types::is_tuple_v<T> |
Stream output operators << are implemented.
Definition in file tpf_any.hpp.
#define NOMINMAX |
Definition at line 16 of file tpf_any.hpp.