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

◆ operator==()

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

Definition at line 790 of file vector.h.

790 {
791 if (size() != other.size()) return false;
792 const T* a = static_cast<const T*>(mArray);
793 const T* b = static_cast<const T*>(other.mArray);
794 for (fl::size i = 0; i < size(); ++i) {
795 if (a[i] != b[i]) return false;
796 }
797 return true;
798 }
fl::size size() const FL_NOEXCEPT