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

Go to the source code of this file.

Classes

class  binary_node< ElementType >
 

Typedefs

using string_t = std::string
 
template<typename ReturnType , typename... Types>
using enable_if_all_types_are_the_same_t = std::enable_if_t< tpf::types::is_same_v< tpf::remove_cv_ref_t< Types >... >, ReturnType >
 

Functions

void test_ascending_descending_order ()
 
void test_find_binary_tree ()
 
void test_build_digraph ()
 
void print_usage (const char *appname, const char *msg)
 
int main (int argc, const char *argv[])
 

Variables

tpf::sstream stream
 
auto endl = tpf::endl
 
auto endL = tpf::endL
 
auto nl = tpf::nl
 
auto nL = tpf::nL
 

Typedef Documentation

◆ enable_if_all_types_are_the_same_t

template<typename ReturnType , typename... Types>
using enable_if_all_types_are_the_same_t = std::enable_if_t<tpf::types::is_same_v<tpf::remove_cv_ref_t<Types>...>, ReturnType>

Definition at line 25 of file 052-binary_tree04.cpp.

◆ string_t

using string_t = std::string

Definition at line 22 of file 052-binary_tree04.cpp.

Function Documentation

◆ main()

int main ( int  argc,
const char *  argv[] 
)

Definition at line 458 of file 052-binary_tree04.cpp.

Here is the call graph for this function:

◆ print_usage()

void print_usage ( const char *  appname,
const char *  msg 
)

Definition at line 442 of file 052-binary_tree04.cpp.

Here is the caller graph for this function:

◆ test_ascending_descending_order()

void test_ascending_descending_order ( )

Definition at line 359 of file 052-binary_tree04.cpp.

Here is the call graph for this function:

◆ test_build_digraph()

void test_build_digraph ( )

Definition at line 426 of file 052-binary_tree04.cpp.

Here is the call graph for this function:

◆ test_find_binary_tree()

void test_find_binary_tree ( )

Definition at line 394 of file 052-binary_tree04.cpp.

Here is the call graph for this function:

Variable Documentation

◆ endl

auto endl = tpf::endl

Definition at line 16 of file 052-binary_tree04.cpp.

◆ endL

auto endL = tpf::endL

Definition at line 17 of file 052-binary_tree04.cpp.

◆ nl

auto nl = tpf::nl

Definition at line 19 of file 052-binary_tree04.cpp.

◆ nL

auto nL = tpf::nL

Definition at line 20 of file 052-binary_tree04.cpp.

◆ stream

tpf::sstream stream

Definition at line 14 of file 052-binary_tree04.cpp.