FastLED 3.9.15
Loading...
Searching...
No Matches

◆ lowerBoundNode()

template<typename T, typename Compare = less<T>, typename Allocator = allocator_slab<char>>
RBNode * fl::RedBlackTree< T, Compare, Allocator >::lowerBoundNode ( const value_type & value) const
inlineprivate

Definition at line 303 of file rbtree.h.

303 {
305 RBNode* result = nullptr;
306 while (current != nullptr) {
307 if (!mComp(current->data, value)) {
308 result = current;
309 current = current->left;
310 } else {
311 current = current->right;
312 }
313 }
314 return result;
315 }
Compare mComp
Definition rbtree.h:63
RBNode * mRoot
Definition rbtree.h:61

Referenced by fl::RedBlackTree< value_type, PairCompare, Allocator >::lower_bound(), and fl::RedBlackTree< value_type, PairCompare, Allocator >::lower_bound().

+ Here is the caller graph for this function: