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

◆ operator--() [1/2]

template<typename T, typename Compare = less<T>, typename Allocator = allocator_slab<char>>
const_iterator & fl::RedBlackTree< T, Compare, Allocator >::const_iterator::operator-- ( )
inline

Definition at line 482 of file rbtree.h.

482 {
483 if (mNode) {
485 } else if (mTree && mTree->mRoot) {
486 // Decrementing from end() should give us the maximum element
487 mNode = mTree->maximum(mTree->mRoot);
488 }
489 return *this;
490 }
const RBNode * predecessor(const RBNode *x) const
Definition rbtree.h:439
const RedBlackTree * mTree
Definition rbtree.h:424

References const_iterator(), mNode, mTree, and predecessor().

+ Here is the call graph for this function: