![]() |
Home | Libraries | People | FAQ | More |
Access the underlying array directly.
value
const*
data() const noexcept;
Returns a pointer to the underlying array serving as element storage.
The value returned is such that the range {data(), data() + size())
is always a valid range, even if the
container is empty.
Constant.
No-throw guarantee.
If size()
== 0
,
the function may or may not return a null pointer.