C++ Library Extensions 2022.12.09
To help learn modern C++ programming
tpf::types::st_process_any< Type, Types > Struct Template Reference

#include <tpf_any.hpp>

Static Public Member Functions

template<typename AnyType >
static std::enable_if_t< is_constrained_any_v< remove_cv_ref_t< AnyType > >, std::string > current_type (AnyType &&a)
 
template<typename VariantType , typename AnyType >
static void variant_to_any (const VariantType &var, AnyType &any)
 
template<typename AnyType , typename VariantType >
static void any_to_variant (const AnyType &any, VariantType &var)
 

Detailed Description

template<typename Type, typename... Types>
struct tpf::types::st_process_any< Type, Types >

Definition at line 410 of file tpf_any.hpp.

Member Function Documentation

◆ any_to_variant()

template<typename Type , typename... Types>
template<typename AnyType , typename VariantType >
static void tpf::types::st_process_any< Type, Types >::any_to_variant ( const AnyType &  any,
VariantType &  var 
)
inlinestatic

Definition at line 440 of file tpf_any.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ current_type()

template<typename Type , typename... Types>
template<typename AnyType >
static std::enable_if_t< is_constrained_any_v< remove_cv_ref_t< AnyType > >, std::string > tpf::types::st_process_any< Type, Types >::current_type ( AnyType &&  a)
inlinestatic

Definition at line 414 of file tpf_any.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ variant_to_any()

template<typename Type , typename... Types>
template<typename VariantType , typename AnyType >
static void tpf::types::st_process_any< Type, Types >::variant_to_any ( const VariantType &  var,
AnyType &  any 
)
inlinestatic

Definition at line 428 of file tpf_any.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this struct was generated from the following file: