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

◆ find_index()

template<typename Key, typename Value, typename Equal = fl::SmallMapEqualTo<Key>>
size_type fl::unordered_map_small< Key, Value, Equal >::find_index ( const Key & key) const
inlineprivate

Definition at line 112 of file unordered_map_small.h.

112 {
113 for (size_type i = 0; i < mData.size(); ++i) {
114 if (mOccupied.test(i) && mEqual(mData[i].first, key)) {
115 return i;
116 }
117 }
118 return npos();
119 }
static size_type npos() FL_NOEXCEPT

References FL_NOEXCEPT, mData, mEqual, mOccupied, and npos().

Referenced by at(), at(), contains(), count(), erase(), find(), find(), get(), get(), insert(), insert(), insert(), insert(), insert_or_update(), operator[](), update(), and update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: