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

Go to the source code of this file.

Classes

class  DummyClass< ElementType >
 

Functions

void understand_uncaught_return_value ()
 
void test_function_returning_an_rvalue_reference ()
 
void misfortune ()
 
void the_correct_way ()
 
int main ()
 

Variables

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

Function Documentation

◆ main()

int main ( )

Definition at line 201 of file 04-unique_ptr.cpp.

Here is the call graph for this function:

◆ misfortune()

void misfortune ( )

Definition at line 183 of file 04-unique_ptr.cpp.

Here is the call graph for this function:

◆ test_function_returning_an_rvalue_reference()

void test_function_returning_an_rvalue_reference ( )

Definition at line 154 of file 04-unique_ptr.cpp.

Here is the call graph for this function:

◆ the_correct_way()

void the_correct_way ( )

Definition at line 192 of file 04-unique_ptr.cpp.

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

◆ understand_uncaught_return_value()

void understand_uncaught_return_value ( )

Definition at line 119 of file 04-unique_ptr.cpp.

Here is the call graph for this function:

Variable Documentation

◆ endl

auto endl = tpf::endl

Definition at line 28 of file 04-unique_ptr.cpp.

◆ stream

tpf::sstream stream

Definition at line 27 of file 04-unique_ptr.cpp.