Voting: std.logger
Robert burner Schadek via Digitalmars-d
digitalmars-d at puremagic.com
Wed Sep 10 04:51:50 PDT 2014
On Wednesday, 10 September 2014 at 11:39:52 UTC, Jacob Carlborg
wrote:
> On 10/09/14 10:47, Robert burner Schadek wrote:
>
>> But
>>
>> void fun(int l = __LINE__, A...)(A...); cannot be replaced by
>> void fun(A...)(A..., int l = __LINE__);
>
> Could we modify the compiler to allow that? Just for the
> special identifiers __LINE__, __FILE__ and similar. It wouldn't
> be possible to specify a value for that parameter then.
IMO that is overkill, adding another another method that only
takes one string as parameter is fine here
More information about the Digitalmars-d
mailing list