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

◆ operator==()

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

Definition at line 729 of file vector.h.

729 {
730 if (size() != other.size()) {
731 return false;
732 }
733 for (fl::size i = 0; i < size(); ++i) {
734 if (mArray[i] != other.mArray[i]) {
735 return false;
736 }
737 }
738 return true;
739 }
fl::size size() const
Definition vector.h:545