Extend the call site default argument expansion mechanism?

rikki cattermole rikki at cattermole.co.nz
Thu May 10 14:22:44 UTC 2018


On 11/05/2018 2:20 AM, Yuxuan Shui wrote:
> On Thursday, 10 May 2018 at 14:17:50 UTC, rikki cattermole wrote:
>> On 11/05/2018 2:15 AM, Yuxuan Shui wrote:
>>> [...]
>>
>> Bad idea, too much magic.
> 
> This magic is already there in D. I just want to use it in a different way.

The magic is not already in there.

__LINE__ and __MODULE__ are special, they are constants recognized by 
the compiler and are immediately substituted if not specified.


More information about the Digitalmars-d mailing list