4 ms·
Then you have an ownership loop.
by Animats 10y ago
Then you have an ownership loop.
- pcwalton 10y agoI meant reference counted strong pointers. Non-reference counted weak pointers make no sense from a systems point of view: in order to be memory safe you have to track the number of outstanding pointers, which is effectively a reference count, so you might as well be honest and use a real reference count.