From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26565 invoked by alias); 24 Oct 2002 07:56:01 -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 26543 invoked by uid 71); 24 Oct 2002 07:56:00 -0000 Date: Thu, 24 Oct 2002 00:56:00 -0000 Message-ID: <20021024075600.26539.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Nathan Sidwell Subject: Re: c++/57: [parser] templates in default arguments Reply-To: Nathan Sidwell X-SW-Source: 2002-10/txt/msg00929.txt.bz2 List-Id: The following reply was made to PR c++/57; it has been noted by GNATS. From: Nathan Sidwell To: Wolfgang Bangerth Cc: Neil Booth , gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/57: [parser] templates in default arguments Date: Thu, 24 Oct 2002 08:48:36 +0100 Wolfgang Bangerth wrote: >>> 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 ... 325. http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#325 I'm surprised comeau accepts your example, Neil, because I experimented with the EDG frontend too. nathan -- Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC 'But that's a lie.' - 'Yes it is. What's your point?' nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org