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

◆ at() [2/2]

template<typename Key, typename Value, typename Compare = less<Key>, typename Allocator = allocator_slab<char>>
const Value & fl::MapRedBlackTree< Key, Value, Compare, Allocator >::at ( const Key & key) const
inline

Definition at line 802 of file rbtree.h.

802 {
803 auto it = mTree.find(value_type(key, Value()));
804 FASTLED_ASSERT(it != mTree.end(), "MapRedBlackTree::at: key not found");
805 return it->second;
806 }
fl::pair< Key, Value > value_type
Definition rbtree.h:740