Voting: std.logger

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 10 09:10:16 PDT 2014


"Robert burner Schadek"  wrote in message 
news:wsanssfvnomcwtnqybui at forum.dlang.org...

> > import std.stdio;
> > void fun(A...)(A args, int l = __LINE__){ writeln(args," ",l); }
> > void main(){ fun(1,2,3); }
>
> 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

Not in that example there won't. 



More information about the Digitalmars-d mailing list