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

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 13 13:04:42 PDT 2014


On Monday, 13 October 2014 at 16:00:21 UTC, Joseph Rushton 
Wakeling wrote:
> On Sunday, 12 October 2014 at 18:47:31 UTC, Walter Bright wrote:
>> Deprecation is a way station on the way to removal. Warnings 
>> are not necessarily headed that way.
>
> Indeed, but the choice of _when_ to remove can in practice be 
> quite free, no?  It would be possible to put in place this 
> deprecation warning and wait for years before acting on it.

This is one thing I'd love major versions to be used for. 
Deprecate bunch of things iteratively, remove them completely in 
D 3.xx.yy ; aggregate bunch of new deprecated things and release 
D 4.xx.yy etc.


More information about the Digitalmars-d mailing list