Andrei Alexandrescu wrote:
> One surprising (but safe) behavior that remains with slices is this:
>
> void fun(int[] a) {
> a[0] = 0;
> a ~= 42;
> a[0] = 42;
> }
>
> The caller may or may not see 42 in the first slot after the call.
Your definition of "safe" is clearly not aligned with mine.
--
Rainer Deyke - rainerd at eldwood.com