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

◆ at() [1/2]

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

Definition at line 796 of file rbtree.h.

796 {
797 auto it = mTree.find(value_type(key, Value()));
798 FASTLED_ASSERT(it != mTree.end(), "MapRedBlackTree::at: key not found");
799 return it->second;
800 }
fl::pair< Key, Value > value_type
Definition rbtree.h:740