Deterministic resource freeing - delete deprecation (again)
Francisco Almeida
francisco.m.almeida at gmail.com
Wed Apr 27 08:44:29 PDT 2011
== Quote from Steven Schveighoffer (schveiguy at yahoo.com)'s article
> On Wed, 27 Apr 2011 11:08:23 -0400, Alexander <aldem+dmars at nk7.net> wrote:
> [...]
> The name choice is no longer up for debate. It's already set in print,
> and in the language.
> -Steve
clear() is a library function which is itself having its behavior changed for the
next DMD release. I think changing it to a more descriptive name such as destroy()
is feasible. Especially when there are existing class methods already called
clear(). Even newcomers from C++ are used to clear() as a common method name from
STL classes.
More information about the Digitalmars-d
mailing list