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

◆ operator==()

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

Definition at line 298 of file map.h.

298 {
299 if (size() != other.size()) {
300 return false;
301 }
302 for (const_iterator it = begin(), other_it = other.begin(); it != end();
303 ++it, ++other_it) {
304 if (it->first != other_it->first ||
305 it->second != other_it->second) {
306 return false;
307 }
308 }
309 return true;
310 }
iterator begin()
Definition map.h:323
iterator end()
Definition map.h:324
size_t size() const
Definition map.h:316
SortedHeapVector< Pair, PairLess >::const_iterator const_iterator
Definition map.h:256