Unmanaged - a D framework on github
Jakob Ovrum
jakobovrum at gmail.com
Fri Mar 15 05:11:13 PDT 2013
On Friday, 15 March 2013 at 10:23:05 UTC, David wrote:
> Afaik it is deprecated which really sucks imo.
I don't know why the new operator is so important to some people.
If templates had been in C++ before classes, this operator would
probably never have existed.
> object.destroy()(UFCS) and clib.free(object) (If it was
> allocated with
> malloc/calloc and friends)
A pair of templated functions dealing with C++ style new/delete
can be trivially composed using malloc-emplace and destroy-free.
More information about the Digitalmars-d-announce
mailing list