FastLED
3.9.15
Loading...
Searching...
No Matches
◆
operator[]()
[1/2]
template<typename
Key
, typename Value, size_t N>
Value &
fl::FixedMap
<
Key
, Value, N >::operator[]
(
const
Key
&
key
)
inline
Definition at line
176
of file
map.h
.
176
{
177
iterator
it
=
find
(
key
);
178
if
(
it
!=
end
()) {
179
return
it
->second;
180
}
181
data
.push_back(
PairKV
(
key
,
Value
()));
182
return
data
.back().second;
183
}
fl::FixedMap::iterator
VectorType::iterator iterator
Definition
map.h:34
fl::FixedMap::end
iterator end()
Definition
map.h:44
fl::FixedMap::data
VectorType data
Definition
map.h:252
fl::FixedMap::find
iterator find(const Key &key)
Definition
map.h:54
fl::FixedMap::PairKV
fl::Pair< Key, Value > PairKV
Definition
map.h:31
fl::FixedMap
Definition
map.h:29
fl
FixedMap
Generated on Fri Apr 18 2025 03:39:32 for FastLED by
1.13.2