FastLED
3.10.8
Loading...
Searching...
No Matches
◆
get()
[1/2]
template<typename
Key
, typename Value, typename Less = fl::less<Key>>
Value
fl::flat_map
<
Key
, Value, Less >::get
(
const
Key
&
key
,
const Value &
defaultValue
) const
inline
Definition at line
399
of file
flat_map.h
.
399
{
400
auto
it
=
find
(
key
);
401
if
(
it
!=
end
()) {
402
return
it
->second;
403
}
404
return
defaultValue
;
405
}
fl::flat_map::find
iterator find(const Key &key) FL_NO_EXCEPT
Definition
flat_map.h:156
fl::flat_map::end
iterator end() FL_NO_EXCEPT
Definition
flat_map.h:86
fl::flat_map
Definition
flat_map.h:31
fl
flat_map
Generated on Sun Oct 18 2026 00:57:06 for FastLED by
1.13.2