Johann MacDonagh wrote:
> Just the pointer is passed by value, referencing elements in the
> array mutate the source.

That's true, but when just moving through a range, the pointer
is the only thing that changes. The stuff it points to can still
be immutable.

Reply via email to