Capturing __FILE__ and __LINE in a variadic templated function

Daniel N via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 2 02:08:27 PST 2015


On Monday, 2 November 2015 at 09:54:50 UTC, John Colvin wrote:
>> Why can't I make Args a sequence of aliases?
>
> Works for me on multiple compilers. To be precise, this worked:
>

Except it prints Arg instead of x, try:
debug write(Args[i].stringof, " is ", Arg);



More information about the Digitalmars-d-learn mailing list