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

◆ operator<()

template<typename Key, typename Compare = less<Key>, typename Allocator = allocator<Key>>
bool fl::MultiSetTree< Key, Compare, Allocator >::operator< ( const MultiSetTree< Key, Compare, Allocator > & other) const
inline

Definition at line 373 of file multi_set.h.

373 {
374 for (auto it1 = begin(), it2 = other.begin(); it1 != end() && it2 != other.end(); ++it1, ++it2) {
375 if (*it1 < *it2) return true;
376 if (*it2 < *it1) return false;
377 }
378 return size() < other.size();
379 }
iterator end()
Definition multi_set.h:192
fl::size size() const
Definition multi_set.h:204
iterator begin()
Definition multi_set.h:189