C++ Library Extensions 2022.12.09
To help learn modern C++ programming
009-push_pop.cpp
Go to the documentation of this file.
1#include <tpf_types.hpp>
2#include <tpf_output.hpp>
3
5{
6 tpf::ostream stream;
7 auto nl = "\n";
8
10
11 stream << tpf::types::push_front_type_t<char, typelist>{} << nl;
12 stream << tpf::types::push_back_type_t<char, typelist>{} << nl;
13
14 stream << tpf::types::pop_front_type_t<typelist>{} << nl;
15 stream << tpf::types::pop_back_type_t<typelist>{} << nl;
16
17
18}
19
20int main()
21{
23}
void examples_push_pop()
Definition: 009-push_pop.cpp:4
int main()
auto nl
tpf::sstream stream
This type is used to manipulate type list.
Definition: tpf_types.hpp:956
Stream output operators << are implemented.
Type functions are implemented.