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

Go to the source code of this file.

Functions

void division (std::promise< int > &promise, int a, int b)
 
void example_for_promise ()
 
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 6 of file 040-future_promise.cpp.

Here is the caller graph for this function:

◆ example_for_promise()

void example_for_promise ( )

Definition at line 27 of file 040-future_promise.cpp.

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

◆ main()

int main ( )

Definition at line 47 of file 040-future_promise.cpp.

Here is the call graph for this function:

Variable Documentation

◆ endl

auto endl = tpf::endl

Definition at line 4 of file 040-future_promise.cpp.

◆ stream

tpf::sstream stream

Definition at line 3 of file 040-future_promise.cpp.