Voting: std.logger
Robert burner Schadek via Digitalmars-d
digitalmars-d at puremagic.com
Wed Sep 10 08:50:36 PDT 2014
On Wednesday, 10 September 2014 at 15:41:49 UTC, Timon Gehr wrote:
>
> Why? I cannot remember a compiler version where the following
> did not work:
>
> import std.stdio;
> void fun(A...)(A args, int l = __LINE__){ writeln(args," ",l); }
> void main(){ fun(1,2,3); }
>
> I.e. there is absolutely no issue here.
For every instantiation of of fun there will be a new symbol even
when A are the same, because of __LINE__. For Dicebot that is a
nogo
More information about the Digitalmars-d
mailing list