Fun with templates

Namespace rswhite4 at googlemail.com
Sat Jul 6 01:23:04 PDT 2013


> That doesn't do what I want at all. The signature is still f(T) 
> not
> f(Unqual!T).

For non-const, const and immutable inout would do it.

void f(T)(inout T var)


More information about the Digitalmars-d mailing list