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

Method remove

dlib/binary_search_tree/binary_search_tree_kernel_1.h:666–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664 typename compare
665 >
666 void binary_search_tree_kernel_1<domain,range,mem_manager,compare>::
667 remove (
668 const domain& d,
669 domain& d_copy,
670 range& r
671 )
672 {
673 tree_height -= remove_from_tree(tree_root,d,d_copy,r);
674 --tree_size;
675 // reset the enumerator
676 reset();
677 }
678
679// ----------------------------------------------------------------------------------------
680

Callers

nothing calls this directly

Calls 1

resetFunction · 0.85

Tested by

no test coverage detected