[Issue 8838] Slicing static arrays should be considered unsafe (@system)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jul 14 17:21:58 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=8838

--- Comment #13 from hsteoh at quickfur.ath.cx ---
Hmm. Seems like if we implement 'scope' according to some combination of
current proposals, we might be able to address this by having slices of static
arrays return a scoped slice with lifetime not longer than the static array
itself.

--


More information about the Digitalmars-d-bugs mailing list