FastLED 3.10.8
Loading...
Searching...
No Matches

◆ update() [1/2]

template<typename Key, typename Value, typename Equal = fl::SmallMapEqualTo<Key>>
bool fl::unordered_map_small< Key, Value, Equal >::update ( const Key & key,
const Value & value )
inline

Definition at line 435 of file unordered_map_small.h.

435 {
437 if (idx != npos()) {
438 mData[idx].second = value;
439 return true;
440 }
442 return true;
443 }
size_type do_insert(const value_type &kv) FL_NO_EXCEPT
static size_type npos() FL_NO_EXCEPT
size_type find_index(const Key &key) const FL_NO_EXCEPT
fl::pair< Key, Value > value_type

References do_insert(), find_index(), fl::FL_NO_EXCEPT, mData, npos(), and fl::type_rank< T >::value.

+ Here is the call graph for this function: