Topic: Defect Report: Error in proposed resolution of Library issue 371
Author: Joe Gottman <jgottman@carolina.rr.com>
Date: Tue, 10 May 2005 14:32:53 +0000 (UTC) Raw View
[ Forwarded to C++ Committee -sdc ]
The proposed resolution to Library Issue 371 contains a typo. This issue
concerns the stability of the insert and erase member functions of multiset
and multimap. But the proposed resolution does not mention multiset and
multimap; it mentions set and map instead. It says the following:
Add the following to the end of 23.1.2 [lib.associative.reqmts]
paragraph 4: "For set and map, insert and erase are stable: they preserve
the relative ordering of equivalent elements
This does not address the original defect report. Also, it is irrelevant,
as set and map cannot contain equivalent elements.
Joe Gottman
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]
Author: hinnant@metrowerks.com (Howard Hinnant)
Date: Wed, 11 May 2005 20:59:08 GMT Raw View
In article <pMWfe.21988$vi2.602205@twister.southeast.rr.com>,
Joe Gottman <jgottman@carolina.rr.com> wrote:
> [ Forwarded to C++ Committee -sdc ]
>
> The proposed resolution to Library Issue 371 contains a typo. This issue
> concerns the stability of the insert and erase member functions of multiset
> and multimap. But the proposed resolution does not mention multiset and
> multimap; it mentions set and map instead. It says the following:
>
> Add the following to the end of 23.1.2 [lib.associative.reqmts]
> paragraph 4: "For set and map, insert and erase are stable: they preserve
> the relative ordering of equivalent elements
>
> This does not address the original defect report. Also, it is irrelevant,
> as set and map cannot contain equivalent elements.
Your concerns have been noted (and thanks). Note that N1780 also
addresses this issue and suggests alternative wording (which has not yet
been reviewed).
-Howard
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]