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

1038. Sequence requirement table needs to reference several new containers

Section: 24.2.4 [sequence.reqmts] Status: C++11 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 C++11 status.

Discussion:

Addresses UK 233 [CD1]

Table 84 is missing references to several new container types.

[ Summit: ]

Agree.

[ Batavia (2009-05): ]

We agree with the proposed resolution. Move to Tentatively Ready.

Proposed resolution:

In 24.2.4 [sequence.reqmts] Table 84, Add reference to listed containers to the following rows:

Table 84 -- Optional sequence container operations
Expression Return type Operational semantics Container
a.front() ... ... vector, list, deque, basic_string, array, forward_list
a.back() ... ... vector, list, deque, basic_string, array
a.emplace_front(args) ... ... list, deque, forward_list
a.push_front(t) ... ... list, deque, forward_list
a.push_front(rv) ... ... list, deque, forward_list
a.pop_front() ... ... list, deque, forward_list
a[n] ... ... vector, deque, basic_string, array
a.at(n) ... ... vector, deque, basic_string, array