This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 24.3.7 [array], 99 [tr.array.array] Status: CD1 Submitter: Pete Becker Opened: 2005-07-03 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [array].
View all issues with CD1 status.
Discussion:
array<>::data() is present in the class synopsis, but not documented.
Proposed resolution:
Add a new section, after 6.2.2.3:
T* data() const T* data() const;
Returns: elems.
Change 6.2.2.4/2 to:
In the case where N == 0, begin() == end(). The return value of data() is unspecified.