FastLED
3.9.15
Loading...
Searching...
No Matches
◆
find()
[2/2]
template<typename
Key
, typename Value, typename Compare = less<Key>, typename Allocator = allocator<fl::pair<Key, Value>>>
const_iterator
fl::MultiMapTree
<
Key
, Value, Compare, Allocator >::find
(
const
Key
&
key
)
const
inline
Definition at line
411
of file
multi_map.h
.
411
{
412
ValueWithId
search_key
(
value_type
(
key
,
Value
()), 0);
413
auto
it
=
mTree
.lower_bound(
search_key
);
414
if
(
it
!=
mTree
.end() &&
it
->value.first ==
key
) {
415
return
const_iterator
(
it
);
416
}
417
return
end
();
418
}
fl::MultiMapTree::value_type
fl::pair< Key, Value > value_type
Definition
multi_map.h:25
fl::MultiMapTree::mTree
TreeType mTree
Definition
multi_map.h:75
fl::MultiMapTree::const_iterator
ConstIteratorWrapper const_iterator
Definition
multi_map.h:256
fl::MultiMapTree::end
iterator end()
Definition
multi_map.h:297
fl::MultiMapTree
Definition
multi_map.h:21
fl::MultiMapTree::ValueWithId
Definition
multi_map.h:43
fl
MultiMapTree
Generated on Tue Jun 16 2026 00:07:05 for FastLED by
1.13.2