Timon Gehr wrote:
-1 for removing .idup, it is handy.

auto idup(E)(const(E)[] arr) pure @trusted
{
    immutable result = arr.dup();
    return result;
}

:-)

Reply via email to