Signals and Slots in D

Walter Bright newshound at digitalmars.com
Thu Sep 28 23:32:04 PDT 2006


Walter Bright wrote:
> Chad J > wrote:
>> Couldn't you also do weak pointers by XORing them with 0xFFFFFFFF (or, 
>> better yet, const size_t weakxor = -1), then XORing again before and 
>> after you need to operate on them?
>>
>> Just thought I'd toss that out there.
> 
> You're very devious! I like that idea. (All you need to do is set the 
> least significant bit to 1.)

Spoke too soon. That won't work.



More information about the Digitalmars-d mailing list