FastLED 3.9.15
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_NOEXCEPT
static size_type npos() FL_NOEXCEPT
fl::pair< Key, Value > value_type
size_type find_index(const Key &key) const FL_NOEXCEPT
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28

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

+ Here is the call graph for this function: