Make const, immutable, inout, and shared illegal as function attributes on the left-hand side of a function

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 11 02:16:42 PDT 2014


On 10/10/2014 4:16 PM, Joseph Rushton Wakeling via Digitalmars-d wrote:
> I agree with that general sentiment, but doesn't this patch only deprecate
> left-hand-side function attributes?

Only some of them, others remain:

     pure int foo() { ... }

> I don't particularly mind you refusing it, but deprecation (in support of good
> stylistic practice) isn't breaking.

Deprecation means it'll be removed.


More information about the Digitalmars-d mailing list