Thread overview
[Issue 5377] New: Ranges do not support tail-const
Dec 26, 2010
Simen Kjaeraas
Dec 26, 2010
Simen Kjaeraas
Dec 26, 2010
Simen Kjaeraas
December 26, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5377

           Summary: Ranges do not support tail-const
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: simen.kjaras@gmail.com


--- Comment #0 from Simen Kjaeraas <simen.kjaras@gmail.com> 2010-12-26 04:01:29 PST ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 26, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5377



--- Comment #1 from Simen Kjaeraas <simen.kjaras@gmail.com> 2010-12-26 04:03:10 PST ---
Created an attachment (id=856)
Templates and functions

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 26, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5377



--- Comment #2 from Simen Kjaeraas <simen.kjaras@gmail.com> 2010-12-26 04:03:37 PST ---
Created an attachment (id=857)
Proof-of-concept range

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------