A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/LWG/issue519 below:

Issue 519: Data() undocumented

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.

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4