On 7/1/13 1:45 PM, John Colvin wrote: > T)(T var) > { > auto myVar = var.to!string; > //do something with myVar string > } Ah, that's also ok. But then you have to remember to use myVar instead of var.