Adding pure to a function type

Adam D. Ruppe destructionator at gmail.com
Thu Oct 26 15:10:48 UTC 2017


On Thursday, 26 October 2017 at 15:04:52 UTC, Andrei Alexandrescu 
wrote:
> So I went with the hammer that will fix anything - a string 
> mixin. Ideas for a nicer solution?

The stdlib has: SetFunctionAttributes in std.traits

http://dpldocs.info/experimental-docs/std.traits.SetFunctionAttributes.1.html


Its implementation is string mixin, but at least on the user side 
it looks less hideous.


More information about the Digitalmars-d mailing list