Please remove misleading examples from D's website
Timon Gehr
timon.gehr at gmx.ch
Wed Nov 30 08:18:11 PST 2011
On 11/30/2011 05:04 PM, Mehrdad wrote:
> On 11/30/2011 7:07 AM, Dejan Lekic wrote:
>> No please! Do not remove, but add a note that those are either
>> deprecated or
>> removed and what a developer should do with a modern implementation of
>> D2!
> Uhm, what?
>
> "Deprecated" means that the feature is still usable, but discouraged.
>
> 'delete' and 'scope' (the storage class) are no longer available; they
> simply *don't work*. Marking them as deprecated would be lying to the
> user. They need to be removed entirely.
iirc the scope storage class can be used to prevent heap allocation of
closures.
More information about the Digitalmars-d
mailing list