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

◆ operator=()

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

Definition at line 507 of file rbtree.h.

507 {
508 if (this != &other) {
509 clear();
510 size_ = other.size_;
511 comp_ = other.comp_;
513 if (other.root_) {
515 }
516 }
517 return *this;
518 }
Compare comp_
Definition rbtree.h:56
fl::size size_
Definition rbtree.h:55
NodeAllocator alloc_
Definition rbtree.h:57
Node * copyTree(Node *node, Node *parent=nullptr)
Definition rbtree.h:243
Node * root_
Definition rbtree.h:54