4 ms·
std::weak_ptr is there for resolving reference cycles.
by saagarjha 9y ago
std::weak_ptr is there for resolving reference cycles.
- pdpi 9y agoWhich means you have to design around it. You can definitely run into problems with cyclical shared_ptr dependencies