This is been bugging me for a while. Is it possible to have a mutable reference to an immutable class? [...]
You are probably looking for std.typecons.Rebindable: https://dlang.org/phobos/std_typecons.html#.Rebindable
Lodovico Giaretta via Digitalmars-d-learn Sat, 10 Sep 2016 13:17:49 -0700
This is been bugging me for a while. Is it possible to have a mutable reference to an immutable class? [...]
You are probably looking for std.typecons.Rebindable: https://dlang.org/phobos/std_typecons.html#.Rebindable