FastLED 3.10.8
Loading...
Searching...
No Matches

◆ uninitialized_move_n_impl()

void fl::vector_basic::uninitialized_move_n_impl ( void * dst,
void * src,
fl::size count ) const
private

Definition at line 16 of file basic_vector.cpp.hpp.

17 {
18 FASTLED_ASSERT(mOps->move_construct != nullptr,
19 "vector: element type is not move-constructible");
20 fl::u8* d = static_cast<fl::u8*>(dst);
21 fl::u8* sp = static_cast<fl::u8*>(src);
22 for (fl::size i = 0; i < count; ++i) {
23 mOps->move_construct(d + i * mElementSize, sp + i * mElementSize);
24 }
25}
const vector_element_ops * mOps
fl::size mElementSize
unsigned char u8
Definition stdint.h:131

References fl::FL_NO_EXCEPT, mElementSize, and mOps.

Referenced by grow_to(), move_from(), shrink_to_fit_impl(), and swap_impl().

+ Here is the caller graph for this function: