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

Go to the source code of this file.

Classes

class  BaseWithVD
 
class  BaseWithoutVD
 
class  A
 
class  B
 

Functions

void test_virtual_destructor ()
 
int main ()
 

Variables

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

Function Documentation

◆ main()

int main ( )

Definition at line 60 of file 26-dynamic_polymorphism.cpp.

Here is the call graph for this function:

◆ test_virtual_destructor()

void test_virtual_destructor ( )

Definition at line 35 of file 26-dynamic_polymorphism.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ endl

auto endl = tpf::endl

Definition at line 4 of file 26-dynamic_polymorphism.cpp.

◆ stream

tpf::sstream stream

Definition at line 3 of file 26-dynamic_polymorphism.cpp.