manual memory management

Brad Roberts braddr at puremagic.com
Wed Jan 9 01:08:33 PST 2013


On 1/9/2013 1:00 AM, Jonathan M Davis wrote:
> On Wednesday, January 09, 2013 09:54:10 Mehrdad wrote:
>> You (or Walter I guess) are the first person I've seen who calls
>> C++ garbage collected.
> 
> I sure wouldn't call that garbage collection - not when there's no garbage 
> collector. But Walter has certainly called it that from time to time.

There's a collector, it's in the refcount decrement (a little simplified):

if (refcount == 0)
   free(obj);

Granted, it's terribly simple, but it's there.


More information about the Digitalmars-d mailing list