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
Sun Oct 12 11:47:31 PDT 2014


On 10/12/2014 2:28 AM, Joseph Rushton Wakeling via Digitalmars-d wrote:
>> Deprecation means it'll be removed.
>
> Hmm, maybe I've misunderstood the deprecation process.  It was my understanding
> that, to remove a feature or function, it was necessary to deprecate it first;
> but that deprecation would not necessarily always lead to deletion.
>
> I may be thinking too specifically of Phobos, where it's obviously much easier
> to deprecate a module without ever removing it.

Deprecation is a way station on the way to removal. Warnings are not necessarily 
headed that way.


More information about the Digitalmars-d mailing list