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

◆ operator[]() [2/2]

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

Definition at line 185 of file map.h.

185 {
187 if (it != end()) {
188 return it->second;
189 }
190 static Value default_value;
191 return default_value;
192 }
iterator end()
Definition map.h:44
iterator find(const Key &key)
Definition map.h:54
VectorType::const_iterator const_iterator
Definition map.h:35