This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/26131] New: TR1 unordered associative containers: insert with hint returns wrong type
- From: "zak at transversal dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Feb 2006 15:05:18 -0000
- Subject: [Bug libstdc++/26131] New: TR1 unordered associative containers: insert with hint returns wrong type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The TR1 specification of insert(iterator, value_type) on unordered associative
containers states that it returns an iterator (as for ordered associative
containers). However the current implementation returns
std::pair<iterator,bool> instead in the case of unique keys.
Patch to follow.
--
Summary: TR1 unordered associative containers: insert with hint
returns wrong type
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zak at transversal dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26131