MCPcopy Create free account
hub / github.com/FastLED/FastLED / assign_array

Function assign_array

src/fl/stl/vector.h:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 }
224
225 void assign_array(const T *values, fl::size count) FL_NOEXCEPT {
226 clear();
227 for (fl::size i = 0; i < count; ++i) {
228 push_back(values[i]);
229 }
230 }
231
232 void assign(const_iterator begin, const_iterator end) FL_NOEXCEPT {
233 clear();

Callers 2

FixedVectorFunction · 0.85
vector.hFile · 0.85

Calls 2

push_backFunction · 0.85
clearFunction · 0.70

Tested by

no test coverage detected