Implementing tail-const in D
sarn
sarn at theartofmachinery.com
Tue Jan 23 23:10:15 UTC 2018
On Tuesday, 23 January 2018 at 09:36:03 UTC, Simen Kjærås wrote:
> Since tail-const (more correctly called head-mutable) was
> mentioned here lately (in the 'I closed a very old bug!'[1]
> thread), I've been racking my brain to figure out what needs
> doing to make a viable solution.
Have you seen Rebindable in Phobos? I know it's not the same
thing as what you're talking about, but it's relevant.
https://dlang.org/library/std/typecons/rebindable.html
More information about the Digitalmars-d
mailing list