https://issues.dlang.org/show_bug.cgi?id=13054 --- Comment #4 from Stanislav Blinov <stanislav.blinov at gmail.com> --- Another partial fix: https://github.com/dlang/phobos/pull/8329 If GC.add/removeRange could be fake pure, then this enhancement would be fulfilled. --