Jarrett Billingsley wrote:
..
> std.traits.Mutable!(T).

Ah thanks! Too obvious.

In case somebody would like to know:

    static if (is(T U == const(U)))
        alias U Mutable;
    else static if (is(T U == immutable(U)))
        alias U Mutable;


Reply via email to