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
{
386
value_type
pair
(
fl::forward<Args>
(
args
)...);
387
InsertResult
result
;
388
bool
success
=
data
.insert(
pair
, &
result
);
389
iterator
it
=
success
?
data
.find(
pair
) :
data
.end();
390
return
fl::pair<iterator, bool>
(
it
,
success
);
391
}
fl::SortedHeapMap::iterator
SortedHeapVector< value_type, PairLess >::iterator iterator
Definition
map.h:306
fl::SortedHeapMap::value_type
fl::pair< Key, Value > value_type
Definition
map.h:275
fl::SortedHeapMap::data
SortedHeapVector< value_type, PairLess > data
Definition
map.h:292
fl::SortedHeapMap
Definition
map.h:270
fl
SortedHeapMap
Generated on Fri Aug 22 2025 20:59:37 for FastLED by
1.13.2