FastLED
3.9.15
Loading...
Searching...
No Matches
◆
count()
template<typename
Key
, typename Compare = less<Key>, typename Allocator = allocator<Key>>
fl::size
fl::MultiSetTree
<
Key
, Compare, Allocator >::count
(
const
Key
&
key
)
const
inline
Definition at line
283
of file
multi_set.h
.
283
{
284
auto
range
=
equal_range
(
key
);
285
fl::size
count
= 0;
286
for
(
auto
it
=
range
.first;
it
!=
range
.second; ++
it
) {
287
++
count
;
288
}
289
return
count
;
290
}
fl::MultiSetTree::count
fl::size count(const Key &key) const
Definition
multi_set.h:283
fl::MultiSetTree::equal_range
fl::pair< iterator, iterator > equal_range(const Key &key)
Definition
multi_set.h:315
fl::MultiSetTree
Definition
multi_set.h:20
fl
MultiSetTree
Generated on Tue Jun 16 2026 00:07:05 for FastLED by
1.13.2