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 171 of file map.h.

171 {
173 if (it != end()) {
174 return it->second;
175 }
176 static Value default_value;
177 return default_value;
178 }
iterator end()
Definition map.h:36
iterator find(const Key &key)
Definition map.h:40
VectorType::const_iterator const_iterator
Definition map.h:30