FastLED
3.9.15
Loading...
Searching...
No Matches
◆
find_value()
[2/2]
template<typename
Key
, typename T, typename
Hash
= Hash<Key>, typename KeyEqual = EqualTo<Key>, int INLINED_COUNT = FASTLED_HASHMAP_INLINED_COUNT>
const T *
fl::HashMap
<
Key
, T,
Hash
, KeyEqual, INLINED_COUNT >::find_value
(
const
Key
&
key
)
const
inline
Definition at line
254
of file
hash_map.h
.
254
{
255
auto
idx
=
find_index
(
key
);
256
return
idx
==
npos
?
nullptr
: &
_buckets
[
idx
].value;
257
}
fl::HashMap::npos
static constexpr size_t npos
Definition
hash_map.h:291
fl::HashMap::find_index
size_t find_index(const Key &key) const
Definition
hash_map.h:391
fl::HashMap::_buckets
fl::vector_inlined< Entry, INLINED_COUNT > _buckets
Definition
hash_map.h:576
fl::HashMap
Definition
hash_map.h:49
fl
HashMap
Generated on Sat May 24 2025 22:44:25 for FastLED by
1.13.2