Title
03 iterator compatibilty
Status
nad concepts
Section
[iterator.backward]
Submitter
Alisdair Meredith

Created on 2009-03-15.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [depr.lib.iterator.primitives], Iterator primitives, as indicated:

To simplify the use of iterators and provide backward compatibility with previous C++ Standard Libraries, the library provides several classes and functions. Unless otherwise specified, these classes and functions shall be defined in header <iterator>.

Change [iterator.backward], Iterator backward compatibility, as indicated:

The library provides concept maps that allow iterators specified with iterator_traits to interoperate with algorithms that require iterator concepts. These concept maps shall be defined in the same header that defines the iterator. [Example:

Date: 2010-10-21.18:28:33

[ 2009-07 Frankfurt ]

We believe this is NAD Concepts, but this needs to be reviewed against the post-remove-concepts draft.

Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

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

Date: 2009-03-15.00:00:00

Which header must a user #include to obtain the library-supplied concept_maps declared in this paragraph?

This is important information, as existing user code will break if this header is not included, and we should make a point of mandating this header is #include-d by library headers likely to make use of it, notably <algorithm>. See issue 1001 for more details.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg548
2010-10-21 18:28:33adminsetmessages: + msg547
2010-10-21 18:28:33adminsetmessages: + msg546
2009-03-15 00:00:00admincreate