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

◆ operator<()

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

Definition at line 483 of file multi_map.h.

483 {
484 for (auto it1 = begin(), it2 = other.begin(); it1 != end() && it2 != other.end(); ++it1, ++it2) {
485 if (it1->first < it2->first) return true;
486 if (it2->first < it1->first) return false;
487 if (it1->second < it2->second) return true;
488 if (it2->second < it1->second) return false;
489 }
490 return size() < other.size();
491 }
iterator begin()
Definition multi_map.h:294
iterator end()
Definition multi_map.h:297
fl::size size() const
Definition multi_map.h:309