FastLED 3.9.15
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 167 of file basic_vector.h.

167 {
168 return static_cast<char*>(mArray) + index * mElementSize;
169 }
fl::size mElementSize

References FL_NOEXCEPT, 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: