Improvement in pure functions specification

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 23 12:01:49 PST 2016


On 12/23/2016 02:32 PM, Andrei Alexandrescu wrote:
> On 12/23/2016 01:53 PM, Johan Engelen wrote:
>> Perhaps I read this wrong but: the paragraph says that non-strongly-pure
>> functions receive no special treatment, but then the next paragraph adds
>> special treatment for a subset of non-strongly-pure functions... :)
>
> Fixed. Keep destruction coming. -- Andrei

Added:

$(P Destructors will always be called even if they appear to be strongly 
pure.)

Any other special functions we should worry about?


Andrei


More information about the Digitalmars-d mailing list