24 Containers library [containers]

24.3 Sequence containers [sequences]

24.3.11 Class template vector [vector]

24.3.11.4 Data [vector.data]

constexpr T* data() noexcept; constexpr const T* data() const noexcept;
Returns: A pointer such that [data(), data() + size()) is a valid range.
For a non-empty vector, data() == addressof(front()).
Complexity: Constant time.