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 806 of file vector.h.

806 {
808 const T* a = static_cast<const T*>(mArray);
809 const T* b = static_cast<const T*>(other.mArray);
810 for (fl::size i = 0; i < min_size; ++i) {
811 if (a[i] < b[i]) return true;
812 if (a[i] > b[i]) return false;
813 }
814 return mSize < other.mSize;
815 }