C++ Library Extensions 2022.12.09
To help learn modern C++ programming
template.cpp
Go to the documentation of this file.
1/*
2 Author: Thomas Kim
3 First Edit: Feb. 03, 2021
4
5 Requirements: C++ compilers that supports C++17 Standards
6
7 clang++ -std=c++17 filename.cpp -ltbb -o output.exe
8 g++ -std=c++17 filename.cpp -ltbb -o output.exe
9 cl /EHsc /std:c++17 filename.cpp /Fe: output.exe
10 dpcpp -Qstd=c++17 filename.cpp -o output.exe
11*/
12
14#include <tpf_output.hpp>
15
16namespace types = tpf::types;
17
19auto& endl = tpf::endl; // one carriage-return and flush out to console
20auto& endL = tpf::endL; // two carriage-returns and flush out to console
21
22int main()
23{
24
25}
Type to string name conversions are defined.
Definition: 31-visit.cpp:7
constexpr auto endL
Definition: tpf_output.hpp:974
constexpr auto endl
Definition: tpf_output.hpp:973
auto & endl
Definition: template.cpp:19
tpf::sstream stream
Definition: template.cpp:18
auto & endL
Definition: template.cpp:20
int main()
Definition: template.cpp:22
Stream output operators << are implemented.
Type functions are implemented.