What to do about default function arguments
Walter Bright
newshound2 at digitalmars.com
Wed Apr 25 22:39:01 PDT 2012
On 4/25/2012 10:29 PM, Ary Manzana wrote:
> I don't understand the relationship between two delegate types being the same
> and thus sharing the same implementation for default arguments for *different
> instances* of a delegate with the same type.
>
> Maybe a bug in how it's currently implemented?
If you call a delegate directly, then the default arguments work. If you call it
indirectly, the default arguments won't work.
More information about the Digitalmars-d
mailing list