@trusted delegates all over std.array

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Feb 2 09:47:20 PST 2014


On Sunday, 2 February 2014 at 17:40:47 UTC, TheFlyingFiddle wrote:
> Why is std.array litered with @trusted delegates?

IIRC these were added in the last few releases to make code 
CTFE-able or to allow pure code to call such functions. A lot of 
array/string-processing code wasn't usable from CTFE/pure, this 
was one workaround to the problem.


More information about the Digitalmars-d-learn mailing list