On 7/13/2016 4:48 AM, John Colvin wrote:
Pointer arithmetic in objects is really quite dangerous w.r.t. immutability/const.
Right, and one reason why pointer arithmetic isn't allowed in @safe code.
Walter Bright via Digitalmars-d Thu, 14 Jul 2016 13:01:48 -0700
On 7/13/2016 4:48 AM, John Colvin wrote:
Pointer arithmetic in objects is really quite dangerous w.r.t. immutability/const.
Right, and one reason why pointer arithmetic isn't allowed in @safe code.