This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Default arguments and FUNCTION_TYPEs
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: gcc at gcc dot gnu dot org, jason at redhat dot com
- Date: Wed, 23 Nov 2005 16:48:06 -0800
- Subject: Re: Default arguments and FUNCTION_TYPEs
- References: <m3y83eq3oz.fsf@uniton.integrable-solutions.net>
Gabriel Dos Reis wrote:
> Hi,
>
> In the C++ front end, default arguments are recorded in
> FUNCTION_TYPEs intead of being part of the FUNCTION_DECLs. What are
> the reasons for that?
There used to be an extension that allowed default arguments on function
pointer types. We agreed to kill it, although I don't know if it was
actually removed. If that's been done, there's no longer any reason.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304