MCPcopy Create free account
hub / github.com/davisking/dlib / destroy

Method destroy

dlib/binary_search_tree/binary_search_tree_kernel_2.h:646–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644 typename compare
645 >
646 void binary_search_tree_kernel_2<domain,range,mem_manager,compare>::
647 destroy (
648 const domain& item
649 )
650 {
651 remove_from_tree(tree_root,item);
652 --tree_size;
653 // reset the enumerator
654 reset();
655 }
656
657// ----------------------------------------------------------------------------------------
658

Callers

nothing calls this directly

Calls 1

resetFunction · 0.85

Tested by

no test coverage detected