Skip to content

Commit 3cf9d72

Browse files
author
Dawn Perchik
committed
LWG2596 vector::data() should use addressof
1 parent 088d282 commit 3cf9d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/containers.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5067,7 +5067,7 @@
50675067
\pnum
50685068
\returns
50695069
A pointer such that \range{data()}{data() + size()} is a valid range. For a
5070-
non-empty vector, \tcode{data()} \tcode{==} \tcode{\&front()}.
5070+
non-empty vector, \tcode{data()} \tcode{==} \tcode{addressof(front())}.
50715071

50725072
\pnum
50735073
\complexity

0 commit comments

Comments
 (0)