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

Go to the source code of this file.

Functions

template<typename Type1 , typename Type2 , typename... Types>
auto Divide (Type1 dividend, Type2 divisor, Types... args)
 
void test_divide ()
 
template<typename Type1 , typename... Types>
auto divide_fold (Type1 dividend, Types... args)
 
void test_divide_fold ()
 
int main ()
 

Variables

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

Function Documentation

◆ Divide()

template<typename Type1 , typename Type2 , typename... Types>
auto Divide ( Type1  dividend,
Type2  divisor,
Types...  args 
)

Definition at line 8 of file 017-expression-fold.cpp.

Here is the caller graph for this function:

◆ divide_fold()

template<typename Type1 , typename... Types>
auto divide_fold ( Type1  dividend,
Types...  args 
)

Definition at line 28 of file 017-expression-fold.cpp.

Here is the caller graph for this function:

◆ main()

int main ( )

Definition at line 39 of file 017-expression-fold.cpp.

Here is the call graph for this function:

◆ test_divide()

void test_divide ( )

Definition at line 21 of file 017-expression-fold.cpp.

Here is the call graph for this function:

◆ test_divide_fold()

void test_divide_fold ( )

Definition at line 33 of file 017-expression-fold.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 5 of file 017-expression-fold.cpp.

◆ nl

auto nl = tpf::nl

Definition at line 4 of file 017-expression-fold.cpp.

◆ stream

tpf::sstream stream

Definition at line 3 of file 017-expression-fold.cpp.