![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
#include <tpf_output.hpp>
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 > |
template<typename ElementType > | |
using | node_ptr_t = typename binary_node< ElementType >::node_ptr_t |
Functions | |
template<typename ElementType > | |
void | test_remove_node (node_ptr_t< ElementType > &node_ptr, ElementType value) |
void | test_ascending_descending_order () |
void | test_find_binary_tree () |
void | test_build_digraph () |
void | print_usage (string_t 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 |
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 053-binary_tree05.cpp.
using node_ptr_t = typename binary_node<ElementType>::node_ptr_t |
Definition at line 463 of file 053-binary_tree05.cpp.
using string_t = std::string |
Definition at line 22 of file 053-binary_tree05.cpp.
int main | ( | int | argc, |
const char * | argv[] | ||
) |
void print_usage | ( | string_t | appname, |
const char * | msg | ||
) |
void test_ascending_descending_order | ( | ) |
void test_build_digraph | ( | ) |
void test_find_binary_tree | ( | ) |
void test_remove_node | ( | node_ptr_t< ElementType > & | node_ptr, |
ElementType | value | ||
) |
auto endl = tpf::endl |
Definition at line 16 of file 053-binary_tree05.cpp.
auto endL = tpf::endL |
Definition at line 17 of file 053-binary_tree05.cpp.
auto nl = tpf::nl |
Definition at line 19 of file 053-binary_tree05.cpp.
auto nL = tpf::nL |
Definition at line 20 of file 053-binary_tree05.cpp.
tpf::sstream stream |
Definition at line 14 of file 053-binary_tree05.cpp.