On 16/02/2012 08:35, Walter Bright wrote:
These all need to be:

const pure nothrow @safe

Unless this is done, the utility of const, pure, nothrow and @safe is rather 
crippled.

Any reason why they shouldn't be?

One reason is memoization, aka lazy initialization, aka logical const.
<snip>

But if the method is pure, the compiler can automatically implement this as an 
optimisation.

Stewart.

Reply via email to