passing __FILE__, __MODULE__, etc... with varadic types

JS js.mdnq at gmail.com
Fri Jul 19 05:24:05 PDT 2013


On Friday, 19 July 2013 at 11:12:31 UTC, Andrej Mitrovic wrote:
> On 7/19/13, JS <js.mdnq at gmail.com> wrote:
>> The problem is, with varadic types being passed I can't do 
>> this:
>>
>> template T!(T..., string file = __FILE__)
>
> Yeah it's a known (and common) issue.
> http://d.puremagic.com/issues/show_bug.cgi?id=8687

It would be nice to get fixed sometime soon but doens't look like 
that will happen.


More information about the Digitalmars-d-learn mailing list