What to do about default function arguments

Walter Bright newshound2 at digitalmars.com
Thu Apr 26 11:58:39 PDT 2012


On 4/26/2012 1:54 AM, Jacob Carlborg wrote:
> On 2012-04-26 05:44, Walter Bright wrote:
>
>> But if we make default arguments solely a part of the function
>> declaration, then function pointers (and delegates) cannot have default
>> arguments. (And maybe this isn't a bad thing?)
>
> Why not?
>

Because a function pointer, and delegate, can exist without a corresponding 
declaration.


More information about the Digitalmars-d mailing list