519. Data() undocumented

Section: 23.3.3 [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.