[inplace.vector.data]

# 23 Containers library [[containers]](./#containers)

## 23.3 Sequence containers [[sequences]](sequences#inplace.vector.data)

### 23.3.16 Class template inplace_vector [[inplace.vector]](inplace.vector#data)

#### 23.3.16.4 Data [inplace.vector.data]

[ð](#lib:data,inplace_vector)

`constexpr       T* data()       noexcept;
constexpr const T* data() const noexcept;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L11087)

*Returns*: A pointer such that [data(), data() + size()) is a valid range[.](#1.sentence-1)

For a non-empty inplace_vector,data() == addressof(front()) is true[.](#1.sentence-2)

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L11093)

*Complexity*: Constant time[.](#2.sentence-1)
