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 469 of file multi_map.h.

469 {
470 if (size() != other.size()) return false;
471 for (auto it1 = begin(), it2 = other.begin(); it1 != end(); ++it1, ++it2) {
472 if (it1->first != it2->first || it1->second != it2->second) {
473 return false;
474 }
475 }
476 return true;
477 }
iterator begin()
Definition multi_map.h:294
iterator end()
Definition multi_map.h:297
fl::size size() const
Definition multi_map.h:309