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

◆ insert() [1/4]

template<typename Key, typename Value, typename Equal = fl::SmallMapEqualTo<Key>>
bool fl::unordered_map_small< Key, Value, Equal >::insert ( const Key & key,
const Value & value,
insert_result * result = nullptr )
inline

Definition at line 309 of file unordered_map_small.h.

309 {
311 if (idx != npos()) {
312 if (result) *result = exists;
313 return false;
314 }
316 if (result) *result = inserted;
317 return true;
318 }
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

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

+ Here is the call graph for this function: