Slicing static arrays should be @system

Jonathan M Davis jmdavisProg at gmx.com
Tue Nov 6 17:54:20 PST 2012


On Wednesday, November 07, 2012 12:44:26 Daniel Murphy wrote:
> Slicing static arrays on the stack is equivalent to taking the address of a
> local variable, which is already illegal in SafeD.

Which is what I'm arguing, but a number of people seem to really not like the 
idea of making slicing static arrays on the stack @system even though it _is_ 
the same thing as taking the address of a local variable, which is @system.

- Jonathan M Davis


More information about the Digitalmars-d mailing list