Uh... destructors?

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Feb 23 20:36:22 PST 2011


On 2/24/11, Kevin Bealer <kevindangerbealer at removedanger.gmail.com> wrote:
>
> I wanted to add something I just realized -- malloc is essentially pure if
> you can't compare the pointers it returns.  Of course if you can't do either
> casting or arithmetic on these pointers I'm not sure how to use malloc.
>
> Kevin
>

Some people keep saying: even though having the GC is great, sometimes
it's necessary to manually manage memory. But any time that argument
is raised and someone mentions library support for manual memory
management, the opposition says "if you want to manage memory, do it
on your own, end of story."

Don't ask me why /I'd/ need that, right now I don't. But others have
raised this issue more than once.


More information about the Digitalmars-d mailing list