Voting: std.logger

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 10 04:39:51 PDT 2014


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.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list