25 Leaf* descendant()
const {
return this->get_ptr(); };
26 [[nodiscard]]
bool left_present()
const {
return this->get_bit(0); };
27 [[nodiscard]]
bool right_present()
const {
return this->get_bit(1); };
29 void set_descendant(Leaf* leaf) { this->set_ptr(leaf); };
30 void set_left_present() { this->set_bit(0); };
31 void set_right_present() { this->set_bit(1); };
32 void clear_left_present() { this->clear_bit(0); };
33 void clear_right_present() { this->clear_bit(1); };