On 08/13/2011 01:04 AM, Adam Ruppe wrote:
Jonathan M Davis wrote:
const(T)[] maybe,
but as soon as you use in, you can't use any range functions.

That is, to me, the biggest problem with range functions and
something that should be fixed.

There's no defense for it aside from being the status quo. It's just a
shortcoming of the current implementation, not a principled limitation.

+1. Maybe the impact on Phobos of fixing this can be kept small by a well thought-out language change.

Reply via email to