From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25185 invoked by alias); 5 Nov 2009 22:41:36 -0000 Received: (qmail 25121 invoked by uid 48); 5 Nov 2009 22:41:18 -0000 Date: Thu, 05 Nov 2009 22:41:00 -0000 Message-ID: <20091105224118.25120.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/41958] [c++0x] bogus variadic partial ordering code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jason at gcc dot gnu dot org" 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: 2009-11/txt/msg00474.txt.bz2 ------- Comment #1 from jason at gcc dot gnu dot org 2009-11-05 22:41 ------- That is, I think this should be ambiguous since the WP says that unused default args aren't considered in partial ordering (14.6.6.2): template int& f(const T&, Args...); template float& f(const T&, double d = 2); float& g() { return f(17); } -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-11-05 22:41:18 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41958