[C++] Deprecating default arguments on function types
Mark Mitchell
mark@codesourcery.com
Mon Jul 21 16:45:00 GMT 2003
On Mon, 2003-07-21 at 06:08, Nathan Sidwell wrote:
> Can we deprecate
> typedef int (*P) (int = 1);
> int f (P p) { return p ();}
> ?
>
> 3.4 only allows it (with pedwarn) when -fpermissive is in effect.
> I'd like to deprecate it entirely. (deprecate in 3.4, remove in 3.5)
That works for me.
Jason is the traditional defender-of-the-traditional. If he doesn't
object, go for it.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
More information about the Gcc
mailing list