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

◆ operator=() [1/2]

template<typename T, typename Allocator = fl::allocator<T>>
deque & fl::deque< T, Allocator >::operator= ( const deque< T, Allocator > & other)
inline

Definition at line 188 of file deque.h.

188 {
189 if (this != &other) {
190 clear();
191 for (fl::size i = 0; i < other.size(); ++i) {
192 push_back(other[i]);
193 }
194 }
195 return *this;
196 }
void clear()
Definition deque.h:292
fl::size size() const
Definition deque.h:283
void push_back(const T &value)
Definition deque.h:298