FastLED
3.9.15
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
413
of file
flat_map.h
.
413
{
414
auto
it
=
find
(
key
);
415
if
(
it
!=
end
()) {
416
return
it
->second;
417
}
418
return
defaultValue
;
419
}
fl::flat_map::end
iterator end() FL_NOEXCEPT
Definition
flat_map.h:84
fl::flat_map::find
iterator find(const Key &key) FL_NOEXCEPT
Definition
flat_map.h:136
fl::flat_map
Definition
flat_map.h:29
fl
flat_map
Generated on Tue Jun 16 2026 00:07:05 for FastLED by
1.13.2