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
270
of file
map.h
.
270
{
271
if
(!
insert
(
key
,
value
)) {
272
iterator
it
=
find
(
key
);
273
it
->second =
value
;
274
}
275
}
fl::SortedHeapMap::iterator
SortedHeapVector< Pair, PairLess >::iterator iterator
Definition
map.h:254
fl::SortedHeapMap::insert
bool insert(const Key &key, const Value &value, InsertResult *result=nullptr)
Definition
map.h:265
fl::SortedHeapMap::find
iterator find(const Key &key)
Definition
map.h:328
fl::SortedHeapMap
Definition
map.h:234
fl
SortedHeapMap
Generated on Thu May 29 2025 04:44:59 for FastLED by
1.13.2