public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/26131]  New: TR1 unordered associative containers: insert with hint returns wrong type
@ 2006-02-06 15:05 zak at transversal dot com
  2006-02-06 15:16 ` [Bug libstdc++/26131] " pcarlini at suse dot de
  2006-02-06 15:18 ` zak at transversal dot com
  0 siblings, 2 replies; 3+ messages in thread
From: zak at transversal dot com @ 2006-02-06 15:05 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/26131] TR1 unordered associative containers: insert with hint returns wrong type
  2006-02-06 15:05 [Bug libstdc++/26131] New: TR1 unordered associative containers: insert with hint returns wrong type zak at transversal dot com
@ 2006-02-06 15:16 ` pcarlini at suse dot de
  2006-02-06 15:18 ` zak at transversal dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pcarlini at suse dot de @ 2006-02-06 15:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pcarlini at suse dot de  2006-02-06 15:16 -------
This is already fixed for mainline and 4.1.0, will not fix in 4_0-branch.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26131


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/26131] TR1 unordered associative containers: insert with hint returns wrong type
  2006-02-06 15:05 [Bug libstdc++/26131] New: TR1 unordered associative containers: insert with hint returns wrong type zak at transversal dot com
  2006-02-06 15:16 ` [Bug libstdc++/26131] " pcarlini at suse dot de
@ 2006-02-06 15:18 ` zak at transversal dot com
  1 sibling, 0 replies; 3+ messages in thread
From: zak at transversal dot com @ 2006-02-06 15:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from zak at transversal dot com  2006-02-06 15:18 -------
Sorry, my mistake -- I thought I had checked this on both.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26131


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-06 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-06 15:05 [Bug libstdc++/26131] New: TR1 unordered associative containers: insert with hint returns wrong type zak at transversal dot com
2006-02-06 15:16 ` [Bug libstdc++/26131] " pcarlini at suse dot de
2006-02-06 15:18 ` zak at transversal dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).