https://issues.dlang.org/show_bug.cgi?id=21216
--- Comment #1 from Simon Naarmann <[email protected]> --- Discussion on the D Forums: https://forum.dlang.org/thread/[email protected] Gist: Instead of adding const/inout, which might not fit every wrapped range, we should use `template this` to let the compiler figure out the appropriate annotations for empty/front/... individually for each wrapped range. --
