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

◆ operator==()

template<typename T>
bool fl::vector< T >::operator== ( const vector< T > & other) const
inline

Definition at line 794 of file vector.h.

794 {
795 if (size() != other.size()) return false;
796 const T* a = static_cast<const T*>(mArray);
797 const T* b = static_cast<const T*>(other.mArray);
798 for (fl::size i = 0; i < size(); ++i) {
799 if (a[i] != b[i]) return false;
800 }
801 return true;
802 }
fl::size size() const FL_NO_EXCEPT