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

◆ update() [2/2]

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

Definition at line 445 of file unordered_map_small.h.

445 {
447 if (idx != npos()) {
448 mData[idx].second = fl::move(value);
449 return true;
450 }
452 return true;
453 }
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
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:30

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

+ Here is the call graph for this function: