But is merely pointing to invalid memory "harmful"?
The documentation states that going one past the last element of a slice is acceptable. But is it also safe to go 10, 100 or 1000 items past the last element of a slice?
Brother Bill via Digitalmars-d-learn Sat, 16 Aug 2025 05:04:07 -0700
But is merely pointing to invalid memory "harmful"?
The documentation states that going one past the last element of a slice is acceptable. But is it also safe to go 10, 100 or 1000 items past the last element of a slice?