const main args?

Adam Ruppe destructionator at gmail.com
Fri Aug 12 16:04:56 PDT 2011


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.


More information about the Digitalmars-d-learn mailing list