This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Editorial status.

1058. New container issue

Section: 23.2.4 [sequence.reqmts] Status: NAD Editorial Submitter: Alisdair Meredith Opened: 2009-03-12 Last modified: 2016-01-28

Priority: Not Prioritized

View other active issues in [sequence.reqmts].

View all other issues in [sequence.reqmts].

View all issues with NAD Editorial status.

Discussion:

Sequence containers 23.2.4 [sequence.reqmts]:

The return value of new calls added to table 83 are not specified.

[ Batavia (2009-05): ]

We agree with the proposed resolution.

Move to NAD Editorial.

Proposed resolution:

Add after p6 23.2.4 [sequence.reqmts]:

-6- ...

The iterator returned from a.insert(p,rv) points to the copy of rv inserted into a.

The iterator returned from a.emplace(p, args) points to the new element constructed from args inserted into a.