| 142 | typename bst_base |
| 143 | > |
| 144 | void binary_search_tree_kernel_c<bst_base>:: |
| 145 | remove ( |
| 146 | const domain& d, |
| 147 | domain& d_copy, |
| 148 | range& r |
| 149 | ) |
| 150 | { |
| 151 | DLIB_CASSERT(this->operator[](d) != 0 && |
| 152 | (static_cast<const void*>(&d) != static_cast<void*>(&d_copy)) && |
| 153 | (static_cast<const void*>(&d) != static_cast<void*>(&r)) && |
| 154 | (static_cast<const void*>(&r) != static_cast<void*>(&d_copy)), |
| 155 | "\tvoid binary_search_tree::remove" |
| 156 | << "\n\tthe element must be in the tree for it to be removed" |
| 157 | << "\n\tthis: " << this |
| 158 | << "\n\t&d: " << &d |
| 159 | << "\n\t&d_copy: " << &d_copy |
| 160 | << "\n\t&r: " << &r |
| 161 | ); |
| 162 | |
| 163 | bst_base::remove(d,d_copy,r); |
| 164 | } |
| 165 | |
| 166 | // ---------------------------------------------------------------------------------------- |
| 167 |
nothing calls this directly
no test coverage detected