C++ Library Extensions 2022.12.09
To help learn modern C++ programming
28-visit.cpp File Reference
#include <tpf_output.hpp>
Include dependency graph for 28-visit.cpp:

Go to the source code of this file.

Classes

struct  tpf::types::compile_time_loop< StartIndex, EndIndex >
 
struct  tpf::types::overloaded< VisitorTypes >
 

Namespaces

namespace  tpf
 Includes subnamespace conversion.
 
namespace  tpf::types
 Type to string name conversions are defined.
 

Functions

template<typename VisitorType , typename VariantType >
void tpf::types::visit (VisitorType &&visitor, VariantType &&vt)
 
template<typename... VisitorTypes>
 tpf::types::overloaded (VisitorTypes...) -> overloaded< VisitorTypes... >
 
void test_visit_basic ()
 
int main ()
 

Variables

tpf::sstream stream
 
auto endl = tpf::endl
 

Function Documentation

◆ main()

int main ( )

Definition at line 163 of file 28-visit.cpp.

Here is the call graph for this function:

◆ test_visit_basic()

void test_visit_basic ( )

Definition at line 62 of file 28-visit.cpp.

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

Variable Documentation

◆ endl

auto endl = tpf::endl

Definition at line 4 of file 28-visit.cpp.

◆ stream

tpf::sstream stream

Definition at line 3 of file 28-visit.cpp.