FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator[]() [2/2]

template<typename Key, typename Value, fl::size N>
const Value & fl::FixedMap< Key, Value, N >::operator[] ( const Key & key) const
inline

Definition at line 207 of file map.h.

207 {
209 if (it != end()) {
210 return it->second;
211 }
212 static Value default_value;
213 return default_value;
214 }
iterator end()
Definition map.h:36
iterator find(const Key &key)
Definition map.h:40
VectorType::const_iterator const_iterator
Definition map.h:30