Signals and Slots in D

Lionello Lunesu lio at lunesu.remove.com
Fri Sep 29 05:33:30 PDT 2006


Thomas Kuehne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Walter Bright schrieb am 2006-09-29:
>> The problem in general with hiding pointers is that it'll break with a 
>> moving garbage collector. You could work around this by 'pinning' the 
>> objects, but pinning objects long term is a bad idea.
> 
> How about an GC allocation area that isn't searched for valid pointers
> but is still collected?

Couldn't we use malloc/free + RAII for that? ...auto_ptr<>?



More information about the Digitalmars-d mailing list