C++ Library Extensions 2022.12.09
To help learn modern C++ programming
009-select_nth.cpp
Go to the documentation of this file.
1#include <tpf_types.hpp>
2#include <tpf_output.hpp>
3
4
6{
8
10
12 auto nl = tpf::flush;
13
14 cout << tpf::types::type_list_t<nth_t>{}<< nl <<" ";
15
16 cout << typelist{} << nl;
17}
18
19
20int main()
21{
23
24 tpf::types::type_to_string<int>();
25}
void examples_select_nth_type()
int main()
auto nl
auto & cout
hidden::select_nth_type_t< SelectIndex, Types... > select_nth_type_t
Definition: tpf_types.hpp:5585
constexpr auto flush
Definition: tpf_output.hpp:970
This type is used to manipulate type list.
Definition: tpf_types.hpp:956
Stream output operators << are implemented.
Type functions are implemented.