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 :(