FastLED
3.9.15
Loading...
Searching...
No Matches
◆
update()
template<typename
Key
, typename Value, typename Less = fl::DefaultLess<Key>>
void
fl::SortedHeapMap
<
Key
, Value, Less >::update
(
const
Key
&
key
,
const Value &
value
)
inline
Definition at line
298
of file
map.h
.
298
{
299
if
(!
insert
(
key
,
value
)) {
300
iterator
it
=
find
(
key
);
301
it
->second =
value
;
302
}
303
}
fl::SortedHeapMap::iterator
SortedHeapVector< Pair, PairLess >::iterator iterator
Definition
map.h:278
fl::SortedHeapMap::insert
bool insert(const Key &key, const Value &value, InsertResult *result=nullptr)
Definition
map.h:294
fl::SortedHeapMap::find
iterator find(const Key &key)
Definition
map.h:351
fl::SortedHeapMap
Definition
map.h:257
fl
SortedHeapMap
Generated on Fri Apr 18 2025 03:39:32 for FastLED by
1.13.2