It has long been a problem that D ranges in general do not support tail-const. For that reason, I have created the attached modules. The first contains templates and functions for converting to and from tailconst, tailmutable, tailimmutable and headmutable, the second is a proof-of-concept range demonstrating the functionality.
Comment #1 by simen.kjaras — 2010-12-26T04:03:10Z
Created attachment 856
Templates and functions
Comment #2 by simen.kjaras — 2010-12-26T04:03:37Z
Created attachment 857
Proof-of-concept range
Comment #3 by andrei — 2018-01-19T02:46:43Z
This would require a DIP if it is to be pursued. I'll re-close with REMIND.