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

Go to the source code of this file.

Classes

struct  vector_3d_pod
 
struct  vector_3d_class
 

Functions

std::ostream & operator<< (std::ostream &os, const vector_3d_pod &obj)
 
std::ostream & operator<< (std::ostream &os, const vector_3d_class &obj)
 
template<typename ElementType >
void performance_test ()
 
int main ()
 

Variables

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

Function Documentation

◆ main()

int main ( )

Definition at line 77 of file 042-dynamic_array.cpp.

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream &  os,
const vector_3d_class obj 
)

Definition at line 33 of file 042-dynamic_array.cpp.

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream &  os,
const vector_3d_pod obj 
)

Definition at line 27 of file 042-dynamic_array.cpp.

◆ performance_test()

template<typename ElementType >
void performance_test ( )

Definition at line 40 of file 042-dynamic_array.cpp.

Here is the call graph for this function:

Variable Documentation

◆ endl

auto endl = tpf::endl

Definition at line 6 of file 042-dynamic_array.cpp.

◆ stream

tpf::sstream stream

Definition at line 5 of file 042-dynamic_array.cpp.