2 ms·
std::shared_ptr has (atomic!) reference counting overhead.
by pcwalton 12y ago
std::shared_ptr has (atomic!) reference counting overhead.
- monocasa 12y agoNot to mention the issues with reference counting in general. Having to make sure you don't have (even indirect) circular references means you have to explicitly think about ownership anyway.