On Saturday, 1 June 2019 at 13:00:50 UTC, ag0aep6g wrote:

How is setting/replacing different from modifying?

e.g.:

    S s;

    this() { s = ...; }

    update(S s) { this.s = s; }

    mod(int i) { s.i = i; } // illegal

Kinda like how strings can be copied and assigned to, but not modified.

Reply via email to