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

◆ insert() [2/2]

template<typename T, typename Allocator = fl::allocator<T>>
bool fl::HeapVector< T, Allocator >::insert ( iterator pos,
T && value )
inline

Definition at line 699 of file vector.h.

699 {
700 // push back and swap into place.
703 auto last = end() - 1;
705 --curr_idx) {
706 auto first = begin() + curr_idx - 1;
707 auto second = begin() + curr_idx;
708 swap(first, second);
709 }
710 return true;
711 }
void swap(HeapVector< T > &other)
Definition vector.h:663
void push_back(const T &value)
Definition vector.h:552