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

◆ emplace()

template<typename Key, typename Value, typename Less = fl::less<Key>>
template<class... Args>
fl::pair< iterator, bool > fl::SortedHeapMap< Key, Value, Less >::emplace ( Args &&... args)
inline

Definition at line 385 of file map.h.

385 {
388 bool success = data.insert(pair, &result);
389 iterator it = success ? data.find(pair) : data.end();
391 }
SortedHeapVector< value_type, PairLess >::iterator iterator
Definition map.h:306
fl::pair< Key, Value > value_type
Definition map.h:275
SortedHeapVector< value_type, PairLess > data
Definition map.h:292