From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28884 invoked by alias); 6 Feb 2006 15:05:22 -0000 Received: (qmail 28856 invoked by uid 48); 6 Feb 2006 15:05:18 -0000 Date: Mon, 06 Feb 2006 15:05:00 -0000 Subject: [Bug libstdc++/26131] New: TR1 unordered associative containers: insert with hint returns wrong type X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zak at transversal dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00509.txt.bz2 List-Id: 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 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