On 07/22/2012 09:27 AM, Mafi wrote:

>> Unfortunately it has a bad name, which is going to be changed.

> Really? I thought we have to stay with this name now. In my
> opinion this name is quite bad, especially in the presence of
> UFCS. What is going to be changed to? destroy()?

Yep! :) It should be available in 2.060:

// Scheduled for deprecation in December 2012.
// Please use destroy instead of clear.

https://github.com/D-Programming-Language/druntime/blob/master/src/object.di#L682

Ali

Reply via email to