Title
Missing insert_iterator for stacks/queues
Status
nad
Section
[insert.iterators]
Submitter
Alisdair Meredith

Created on 2009-03-13.00:00:00 last changed 164 months ago

Messages

Date: 2010-10-21.18:28:33

[ 2009 Santa Cruz: ]

Moved to NAD. The intent of these adapters are to restrict the interfaces.

Date: 2009-07-29.00:00:00

[ 2009-07-29 Howard moves to Tentatively NAD Future. ]

A poll on the LWG reflector voted unanimously to move this issue to Tentatively NAD Future.

Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

Walter recommends NAD Future.

Move to Open, and recommend deferring the issue until after the next Committee Draft is issued.

Date: 2009-03-13.00:00:00

It is odd that we have an iterator to insert into a vector, but not an iterator to insert into a vector that is adapted as a stack. The standard container adapters all have a common interface to push and pop so it should be simple to create an iterator adapter to complete the library support.

We should provide an AdaptedContainer concept supporting push and pop operations. Create a new insert iterator and factory function that inserts values into the container by calling push.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg544
2010-10-21 18:28:33adminsetmessages: + msg543
2010-10-21 18:28:33adminsetmessages: + msg542
2009-03-13 00:00:00admincreate