Signals and Slots in D

Walter Bright newshound at digitalmars.com
Fri Sep 29 01:06:49 PDT 2006


Frank Benoit wrote:
> Inverting the lsb will not, because it is also a valid ptr to the object.
> Inverting the msb should always work. Well it should work in the way,
> that it does not prevent the object from being deleted.
> But how can it be tested, that the ptr is callable?

I don't think msb will work, either, as there's no guarantee the gc pool 
won't straddle the boundary.



More information about the Digitalmars-d mailing list