A serious security bug... caused by no bounds checking.
Daniel Murphy
yebbliesnospam at gmail.com
Fri Apr 11 09:05:28 PDT 2014
"Meta" wrote in message news:brrbqfpkfkevxbseoxiq at forum.dlang.org...
> Hasn't there been a proposal before to allow @system/@trusted/@safe
> blocks, allowing it to be a bit more granular than at the function level?
> Maybe:
>
> @trusted
> {
> arr.ptr[index]
> }
>
> Could be lowered to (() @trusted => arr.ptr[index]).
It's a little prettier, but less powerful and not really something that
_should_ be pretty.
More information about the Digitalmars-d
mailing list