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

◆ operator==()

template<typename Key, typename Value, typename Equal = fl::SmallMapEqualTo<Key>>
bool fl::unordered_map_small< Key, Value, Equal >::operator== ( const unordered_map_small< Key, Value, Equal > & other) const
inline

Definition at line 456 of file unordered_map_small.h.

456 {
457 if (mSize != other.mSize) return false;
458 for (size_type i = 0; i < mData.size(); ++i) {
459 if (!mOccupied.test(i)) continue;
461 if (oidx == npos() || !(other.mData[oidx].second == mData[i].second)) {
462 return false;
463 }
464 }
465 return true;
466 }
static size_type npos() FL_NOEXCEPT
size_type find_index(const Key &key) const FL_NOEXCEPT

References unordered_map_small(), FL_NOEXCEPT, mData, mOccupied, mSize, and npos().

+ Here is the call graph for this function: