It turns out it's quite hard to have @safe pure nothrow functions. Oh, and const.

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 13 10:48:24 PDT 2014


On Saturday, 13 September 2014 at 16:51:09 UTC, Timon Gehr wrote:
> s.bar((int* p){ ++*p; });

Huh? inout is for functions, which don't modify their arguments.


More information about the Digitalmars-d mailing list