FastLED
3.9.15
Loading...
Searching...
No Matches
◆
push_back()
[2/2]
template<typename T, typename Allocator = fl::allocator<T>>
void
fl::HeapVector
< T, Allocator >::push_back
(
T &&
value
)
inline
Definition at line
561
of file
vector.h
.
561
{
562
ensure_size
(
mSize
+ 1);
563
if
(
mSize
<
mCapacity
) {
564
mAlloc
.construct(&
mArray
[
mSize
],
fl::move
(
value
));
565
++
mSize
;
566
}
567
}
fl::HeapVector< T, Allocator >::ensure_size
void ensure_size(fl::size n)
Definition
vector.h:431
fl::HeapVector
Definition
vector.h:345
fl
HeapVector
Generated on Fri Aug 22 2025 20:59:36 for FastLED by
1.13.2