~= call copy ctor?

Ali Çehreli acehreli at yahoo.com
Sun Jul 22 10:41:04 PDT 2012


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



More information about the Digitalmars-d-learn mailing list