std.algorithm and immutable arrays
BCS
none at anon.com
Wed Jun 9 20:19:45 PDT 2010
Hello Andrei,
> (b) Promote a change in the compiler to convert immutable(T[]) to
> immutable(T)[] when passed by value into a function. This is safe and
> sensible.
>
> What say you?
b.vote++
Making that an implicit conversion on any copy should be safe. But would
it have any side effects?
Also, would that strip it by default or only when the called function demands
it?
>
--
... <IXOYE><
More information about the Digitalmars-d
mailing list