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

◆ operator==()

template<typename Key, typename Value, typename Less = fl::less<Key>>
bool fl::SortedHeapMap< Key, Value, Less >::operator== ( const SortedHeapMap< Key, Value, Less > & other) const
inline

Definition at line 509 of file map.h.

509 {
510 if (size() != other.size()) {
511 return false;
512 }
513 for (const_iterator it = begin(), other_it = other.begin(); it != end();
514 ++it, ++other_it) {
515 if (it->first != other_it->first ||
516 it->second != other_it->second) {
517 return false;
518 }
519 }
520 return true;
521 }
iterator begin()
Definition map.h:315
iterator end()
Definition map.h:316
SortedHeapVector< value_type, PairLess >::const_iterator const_iterator
Definition map.h:307
fl::size size() const
Definition map.h:323