Why D const is annoying
bearophileHUGS at lycos.com
Sat Dec 10 13:02:03 PST 2011
Jonathan M Davis:
> Per isInputRange!(typeof(arr)), no. It has the right functions, but it can't
> use them, because it's const.
> [... snip]
> Ranges are too heavily used
> with their current API for us to change it that drastically now.
Thank you Jonathan for taking the time to explain me all that :-)
I am taking years to learn D well :-)
More information about the Digitalmars-d