Signals and Slots in D
Chad J
"gamerChad\" at spamIsBad gmail.com
Fri Sep 29 06:59:29 PDT 2006
Georg Wrede 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.
>
>
> What happens the day we're halfway up the virtual memory space?
Then we might keep alive other dead objects. That's life with a
conservative gc. Even mundane variables like int's in your code today
can cause objects to be kept around past their expiration date.
More information about the Digitalmars-d
mailing list