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

eles via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 12 12:33:39 PDT 2014


On Sunday, 12 October 2014 at 18:47:31 UTC, Walter Bright wrote:
> 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.

I beg forgiveness, but I think it was a timid suggestion to clean 
up a bit Phobos...


More information about the Digitalmars-d mailing list