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

Go to the source code of this file.

Functions

void division (std::promise< int > &promise, int a, int b)
 
void examples_for_promise_future ()
 
int main ()
 

Variables

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

Function Documentation

◆ division()

void division ( std::promise< int > &  promise,
int  a,
int  b 
)

Definition at line 7 of file 019-promise_future.cpp.

Here is the caller graph for this function:

◆ examples_for_promise_future()

void examples_for_promise_future ( )

Definition at line 42 of file 019-promise_future.cpp.

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

◆ main()

int main ( )

Definition at line 83 of file 019-promise_future.cpp.

Here is the call graph for this function:

Variable Documentation

◆ endl

auto endl = tpf::endl

Definition at line 4 of file 019-promise_future.cpp.

◆ stream

tpf::sstream stream

Definition at line 3 of file 019-promise_future.cpp.