On Tue, Mar 24, 2009 at 6:33 AM, Lutger <lutger.blijdest...@gmail.com> wrote: > How can I get the mutable type from any type T in a generic function or > template, assuming T is const or immutable? > > >
std.traits.Mutable!(T).
On Tue, Mar 24, 2009 at 6:33 AM, Lutger <lutger.blijdest...@gmail.com> wrote: > How can I get the mutable type from any type T in a generic function or > template, assuming T is const or immutable? > > >
std.traits.Mutable!(T).