toHash => pure, nothrow, const, @safe

Martin Nowak dawg at dawgfoto.de
Mon Mar 12 01:14:17 PDT 2012


> So I propose instead a bit of a hack. toHash, opEquals, and opCmp as  
> struct members be automatically annotated with pure, nothrow, and @safe  
> (if not already marked as @trusted).

How about complete inference instead of a hack?


More information about the Digitalmars-d mailing list