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

◆ operator=() [2/2]

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

Definition at line 737 of file rbtree.h.

737 {
738 if (this != &other) {
739 clear();
740 mRoot = other.mRoot;
741 mSize = other.mSize;
744 other.mRoot = nullptr;
745 other.mSize = 0;
746 }
747 return *this;
748 }
NodeAllocator mAlloc
Definition rbtree.h:64
fl::size mSize
Definition rbtree.h:62
Compare mComp
Definition rbtree.h:63
RBNode * mRoot
Definition rbtree.h:61
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28