"Meta" wrote in message news:brrbqfpkfkevxbseo...@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.