FastLED
3.9.15
Loading...
Searching...
No Matches
◆
count()
template<typename
Key
, typename Value, typename Compare = less<Key>, typename Allocator = allocator<fl::pair<Key, Value>>>
fl::size
fl::MultiMapTree
<
Key
, Value, Compare, Allocator >::count
(
const
Key
&
key
)
const
inline
Definition at line
393
of file
multi_map.h
.
393
{
394
auto
range
=
equal_range
(
key
);
395
fl::size
count
= 0;
396
for
(
auto
it
=
range
.first;
it
!=
range
.second; ++
it
) {
397
++
count
;
398
}
399
return
count
;
400
}
fl::MultiMapTree::count
fl::size count(const Key &key) const
Definition
multi_map.h:393
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