FastLED
3.9.15
Loading...
Searching...
No Matches
◆
erase()
[1/4]
template<typename
Key
, typename Value, typename Compare = less<Key>, typename Allocator = allocator<fl::pair<Key, Value>>>
fl::size
fl::MultiMapTree
<
Key
, Value, Compare, Allocator >::erase
(
const
Key
&
key
)
inline
Definition at line
362
of file
multi_map.h
.
362
{
363
auto
range
=
equal_range
(
key
);
364
fl::size
count
= 0;
365
auto
it
=
range
.first;
366
while
(
it
!=
range
.second) {
367
it
=
erase
(
it
);
368
++
count
;
369
}
370
return
count
;
371
}
fl::MultiMapTree::count
fl::size count(const Key &key) const
Definition
multi_map.h:393
fl::MultiMapTree::erase
iterator erase(iterator pos)
Definition
multi_map.h:352
fl::MultiMapTree::equal_range
fl::pair< iterator, iterator > equal_range(const Key &key)
Definition
multi_map.h:425
fl::MultiMapTree
Definition
multi_map.h:21
fl
MultiMapTree
Generated on Tue Jun 16 2026 00:07:05 for FastLED by
1.13.2