From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1296 invoked by alias); 24 Oct 2002 01:16:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 1269 invoked by uid 71); 24 Oct 2002 01:16:02 -0000 Date: Wed, 23 Oct 2002 18:16:00 -0000 Message-ID: <20021024011602.1268.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/57: [parser] templates in default arguments Reply-To: Wolfgang Bangerth X-SW-Source: 2002-10/txt/msg00917.txt.bz2 List-Id: The following reply was made to PR c++/57; it has been noted by GNATS. From: Wolfgang Bangerth To: Neil Booth Cc: nathan@codesourcery.com, , Subject: Re: c++/57: [parser] templates in default arguments Date: Wed, 23 Oct 2002 20:10:32 -0500 (CDT) > > void foo (int = A::n) { } > > --------------------------------------------- > > In the default argument parsing, there's a "," not nested inside > > parentheses. This stops default argument parsing. If you agree, then this > > report should be closed. > > FWIW Comeau accepts it in strict conforming mode. I think I recall there was a defect report about this, but I can't seem to find it anymore, and I also don't recall whether it was resolved either way or other ... Wolfgang ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth