
26 Apr
2011
26 Apr
'11
7:57 a.m.
On 4/25/2011 11:45 PM, Rutger ter Borg wrote:
If I understood correctly, it's a pointer that
1) counts references from the stack or data segment only 2) auto-unites different "sets"
So maybe something along the line of "heap_set_ptr" covers its functionality. I'm curious about the union behaviour: couldn't this be causing a huge delay for deallocation? Can it be turned off?
Thanks for the suggestions everybody but I'm now considering: mutual_ptr, which tells what it's made for. The "set" qualifier should be hidden from the user because it'll make the code cleaner. -Phil