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

◆ vector() [10/12]

template<typename T>
fl::vector< T >::vector ( span< const T, fl::size(-1)> s)
inline

Definition at line 560 of file vector.h.

564 for (fl::size i = 0; i < s.size(); ++i) {
565 push_back(s[i]);
566 }
567 }
void reserve_impl(fl::size n) FL_NOEXCEPT
vector_basic(fl::size elementSize, memory_resource *resource, const vector_element_ops *ops) FL_NOEXCEPT
Heap-only vector (no inline buffer).
fl::size size() const FL_NOEXCEPT
void push_back(const T &value) FL_NOEXCEPT
Definition vector.h:624
memory_resource * default_memory_resource() FL_NOEXCEPT
Get the default memory resource (wraps fl::Malloc / fl::Free / fl::realloc).