Pure and higher-order functions

Jonathan M Davis jmdavisProg at gmx.com
Thu Feb 23 12:24:08 PST 2012


On Thursday, February 23, 2012 21:17:46 mist wrote:
> But is there any way to actually say D compiler that I want this
> function to accept only pure delegates?

Mark the delegate type that it accepts as pure.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list