FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator=()

template<EOrder RGB_ORDER, int LANES = 1, fl::u32 MASK = 0xFFFFFFFF>
PixelController & PixelController< RGB_ORDER, LANES, MASK >::operator= ( const PixelController< RGB_ORDER, LANES, MASK > & other)
inline

Copy assignment, through the same copy() as the copy constructor.

The implicit one would copy mLenRemaining verbatim while the copy constructor rewinds it to mLen, so the two copy paths disagreed.

Definition at line 144 of file pixel_controller.h.

144 {
145 if (this != &other) {
146 copy(other);
147 }
148 return *this;
149 }
void copy(const PixelControllerT &other) FL_NO_EXCEPT
Pixel controller class.

References PixelController(), copy(), and FL_NO_EXCEPT.

+ Here is the call graph for this function: