link/language
Circular reference problem with smart pointer
cobaltic5
2019. 1. 21. 11:00
Circular dependency issues with std::shared_ptr, and std::weak_ptr
Smart pointers which is implemented using reference counting cause a memory leak when there is a circular dependency with them.