~= call copy ctor?
Namespace
rswhite4 at googlemail.com
Sun Jul 22 11:14:20 PDT 2012
On Sunday, 22 July 2012 at 17:41:33 UTC, Ali Çehreli wrote:
> 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
And how do I check if my object is still valid?
More information about the Digitalmars-d-learn
mailing list