FastLED
3.9.15
Loading...
Searching...
No Matches
◆
update()
[1/2]
template<typename
Key
, typename Value, typename Less = fl::less<Key>>
void
fl::SortedHeapMap
<
Key
, Value, Less >::update
(
const
Key
&
key
,
const Value &
value
)
inline
Definition at line
483
of file
map.h
.
483
{
484
if
(!
insert
(
key
,
value
)) {
485
iterator
it
=
find
(
key
);
486
it
->second =
value
;
487
}
488
}
fl::SortedHeapMap::insert
fl::pair< iterator, bool > insert(const value_type &value)
Definition
map.h:360
fl::SortedHeapMap::iterator
SortedHeapVector< value_type, PairLess >::iterator iterator
Definition
map.h:306
fl::SortedHeapMap::find
iterator find(const Key &key)
Definition
map.h:416
fl::SortedHeapMap
Definition
map.h:270
fl
SortedHeapMap
Generated on Fri Aug 22 2025 20:59:37 for FastLED by
1.13.2