Skip to content

Commit c90e151

Browse files
mclowtkoeppe
authored andcommitted
[array.members] Update the description for array::data to match that of vector::data (#1904)
1 parent 4dec2ac commit c90e151

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/containers.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3254,8 +3254,8 @@
32543254

32553255
\begin{itemdescr}
32563256
\pnum \returns
3257-
A pointer such that \tcode{data() == addressof(front())},
3258-
and \range{data()}{data() + size()} is a valid range.
3257+
A pointer such that \range{data()}{data() + size()} is a valid range. For a
3258+
non-empty array, \tcode{data()} \tcode{==} \tcode{addressof(front())}.
32593259
\end{itemdescr}
32603260

32613261
\indexlibrarymember{array}{fill}%

0 commit comments

Comments
 (0)