519. Data() undocumented

Section: 24.3.7 [array], 99 [tr.array.array] Status: CD1 Submitter: Pete Becker Opened: 2005-07-03 Last modified: 2016-01-28 10:19:27 UTC

Priority: Not Prioritized

View all other issues in [array].

View all issues with CD1 status.


array<>::data() is present in the class synopsis, but not documented.

Proposed resolution:

Add a new section, after

T*       data()
const T* data() const;

Returns: elems.

Change to:

In the case where N == 0, begin() == end(). The return value of data() is unspecified.