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

◆ element_ptr() [2/2]

void * fl::vector_basic::element_ptr ( fl::size index)
inlineprotected

Pointer to element at index (byte arithmetic).

Definition at line 164 of file basic_vector.h.

164 {
165 return static_cast<char*>(mArray) + index * mElementSize;
166 }
fl::size mElementSize

References fl::FL_NO_EXCEPT, mArray, and mElementSize.

Referenced by copy_from(), erase_range_impl(), insert_copy_impl(), insert_move_impl(), pop_back_impl(), push_back_copy_impl(), push_back_move_impl(), resize_impl(), resize_value_impl(), and swap_impl().

+ Here is the caller graph for this function: