toHash => pure, nothrow, const, @safe
Martin Nowak
dawg at dawgfoto.de
Mon Mar 12 01:08:50 PDT 2012
On Mon, 12 Mar 2012 07:04:52 +0100, Alex Rønne Petersen
<xtzgzorex at gmail.com> wrote:
> Or, as a compromise, perhaps the compiler can auto-infer most of the
> attributes without any further effort from the user.
> No, that has API design issues. You can silently break a guarantee you
> made previously.
What's wrong with auto-inference. Inferred attributes are only
strengthening guarantees.
More information about the Digitalmars-d
mailing list