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

◆ assign() [1/2]

template<typename T, typename Allocator = fl::allocator<T>>
template<typename InputIt, typename = fl::enable_if_t<!fl::is_integral<InputIt>::value>>
void fl::HeapVector< T, Allocator >::assign ( InputIt begin,
InputIt end )
inline

Definition at line 464 of file vector.h.

464 {
465 clear();
466 reserve(end - begin);
467 for (InputIt it = begin; it != end; ++it) {
468 push_back(*it);
469 }
470 }
void push_back(const T &value)
Definition vector.h:493

Referenced by fl::HeapVector< DrawItem >::HeapVector(), fl::HeapVector< DrawItem >::HeapVector(), and fl::HeapVector< DrawItem >::operator=().

+ Here is the caller graph for this function: