31 Aug
2013
31 Aug
'13
4:01 a.m.
on Fri Aug 30 2013, Phil Bouchard
On 8/30/2013 4:43 PM, Jens Weller wrote:
I'll just ask about the elephant in the room: What does your block_ptr do differently then the for years known smartpointer implementation in boost? Why is there a need for reinventing the wheel?
Because cyclic pointers need to be handled explicitly with smart pointers whereas with mine it's done implicitly.
There's no one correct destruction order for objects participating in a cycle. That's one reason most C++ garbage collectors collect memory but don't run destructors. How does your system deal with this? -- Dave Abrahams