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

Go to the source code of this file.

Classes

struct  callbacks< CallbackTypes >
 

Functions

template<typename... CallbackTypes>
 callbacks (CallbackTypes...) -> callbacks< CallbackTypes... >
 
void test_callbacks ()
 
void test_variant ()
 
int main ()
 

Variables

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

Function Documentation

◆ callbacks()

template<typename... CallbackTypes>
callbacks ( CallbackTypes...  ) -> callbacks< CallbackTypes... >

◆ main()

int main ( )

Definition at line 99 of file 18-static_polymorphism.cpp.

Here is the call graph for this function:

◆ test_callbacks()

void test_callbacks ( )

Definition at line 17 of file 18-static_polymorphism.cpp.

◆ test_variant()

void test_variant ( )

Definition at line 52 of file 18-static_polymorphism.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 18-static_polymorphism.cpp.

◆ stream

tpf::sstream stream

Definition at line 3 of file 18-static_polymorphism.cpp.