Re: Function pointer problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Once again, I sent this to Eljay only.

--
I looked but found no "cannot do" clause in the spec.  However,
pointer to member types made no mention of any default arguments.

ISO 14882:2003
8.3.3 Pointers to members
--

Is there a problem with providing the same functionality by specifying
the default parameter arguments in the function declaration?

corey

On Thu, 03 Feb 2005 06:21:35 -0600, Eljay Love-Jensen <eljay@xxxxxxxxx> wrote:
> Hi Al,
> 
> The EDG front end rejects your code as well.  With this error message...
> 
> error: specifying a default argument on this declaration is nonstandard
> 
> That leads me to speculate (without looking at ISO 14882:2003 and citing
> chapter-and-verse) that a function pointer is not allowed to have default
> arguments.
> 
> --Eljay
> 
>

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux