Title
Replace pair's range support by proper range facility
Status
c++11
Section
[pair.range]
Submitter
BSI

Created on 2010-08-25.00:00:00 last changed 161 months ago

Messages

Date: 2011-05-09.23:20:35

Proposed resolution:

Strike 20.3.5.4 and the matching declarations in 20.3 header synopsis.

Date: 2010-10-24.10:50:39

[ Resolved in Rapperswil by a motion to directly apply the words from the ballot comment in N3102. ]

Date: 2010-10-24.22:33:31

Addresses GB-85

While std::pair may happen to hold a pair of iterators forming a valid range, this is more likely a coincidence than a feature guaranteed by the semantics of the pair template. A distinct range-type should be supplied to enable the new for-loop syntax rather than overloading an existing type with a different semantic.

If a replacement facility is required for C++0x, consider n2995.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2011-05-09 23:20:35adminsetmessages: + msg5769
2010-11-19 19:04:45adminsetstatus: nad editorial -> wp
2010-10-24 10:50:39adminsetmessages: + msg5000
2010-08-25 00:00:00admincreate