clear() and UFCS

Francisco Almeida francisco.m.almeida at gmail.com
Sat May 26 01:48:57 PDT 2012


On Friday, 25 May 2012 at 18:22:08 UTC, Andrei Alexandrescu wrote:
> On 5/25/12 12:37 PM, Mirko Pilger wrote:
>>> Now I don't have a good name. Finalize isn't right, and 
>>> neither is
>>> dispose...
>>
>> what about "invalidate"?
>
> Whatever it is, I should say I'll be very strongly opposed to 
> any proposal if it is about as controversial as "clear".
>
> Andrei

I vote for destroy().
It seems to be a popular choice, and it isn't ambiguous in any 
way.
Are there any classes/structs using destroy() methods in Phobos?

Francisco


More information about the Digitalmars-d mailing list