Review: A new stab at a potential std.unittests
Fawzi Mohamed
fawzi at gmx.ch
Sat Nov 20 02:37:58 PST 2010
On 19-nov-10, at 23:44, Sean Kelly wrote:
> Leandro Lucarella Wrote:
>
>> Sean Kelly, el 19 de noviembre a las 14:59 me escribiste:
>>>
>>> This should work:
>>>
>>> void func(string x = __FILE__, T...)(T args);
>>>
>>> D allows defaulted template arguments to occur before non-
>>> defaulted ones.
I wasn't aware that __FILE__ and __LINE__ did expand at the
instantiation place, it is nice, but that seems to be the case only
for D2 :(
More information about the Digitalmars-d
mailing list