From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20943 invoked by alias); 14 May 2012 02:24:43 -0000 Received: (qmail 20933 invoked by uid 22791); 14 May 2012 02:24:42 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 May 2012 02:24:30 +0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/53339] unordered_map::iterator requires Value to be complete type Date: Mon, 14 May 2012 02:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-05/txt/msg01382.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bkoz at redhat dot com --- Comment #2 from Paolo Carlini 2012-05-14 02:24:14 UTC --- But things seem not so easy in mainline (this is an enhancement which can go only in mainline): in any case we fail at the line: using mapped_type = typename _Pair::second_type; in hashtable_policy.h, because, afaics, with the code reworked to use alias templates we end up instantiating everything down to __detail::_Map_base.