![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
#include <tpf_output.hpp>Go to the source code of this file.
Classes | |
| struct | to_variant_st< Type > |
| struct | to_variant_st< tpf::types::type_list_t< Type > > |
| struct | to_variant_st< tpf::types::type_list_t< Type, Types... > > |
Typedefs | |
| template<typename Type > | |
| using | remove_cv_ref_t = std::remove_cv_t< std::remove_reference_t< Type > > |
| template<typename Type > | |
| using | decay_remove_cv_ref_t = remove_cv_ref_t< std::decay_t< Type > > |
| template<typename Type , typename... Types> | |
| using | to_variant_t = typename to_variant_st< tpf::types::unique_types_t< Type, Types... > >::type |
Functions | |
| template<typename Type , typename... Types> | |
| auto | make_variants (Type &&arg, Types &&... args) |
| void | test_make_variants () |
| void | test_make_variants_two () |
| int | main () |
Variables | |
| tpf::sstream | stream |
| auto | endl = tpf::endl |
| using decay_remove_cv_ref_t = remove_cv_ref_t<std::decay_t<Type> > |
Definition at line 10 of file 038-make_variants.cpp.
| using remove_cv_ref_t = std::remove_cv_t<std::remove_reference_t<Type> > |
Definition at line 7 of file 038-make_variants.cpp.
| using to_variant_t = typename to_variant_st< tpf::types::unique_types_t<Type, Types...> >::type |
Definition at line 31 of file 038-make_variants.cpp.
| int main | ( | ) |
| auto make_variants | ( | Type && | arg, |
| Types &&... | args | ||
| ) |
| void test_make_variants | ( | ) |
| void test_make_variants_two | ( | ) |
Definition at line 69 of file 038-make_variants.cpp.
| auto endl = tpf::endl |
Definition at line 4 of file 038-make_variants.cpp.
| tpf::sstream stream |
Definition at line 3 of file 038-make_variants.cpp.