Re:A Usable C++ Dialect That Is Safe Against Memory Corruption
by saagarjha on Thursday March 15, 2018 @03:15PM
(#16595724)
std::weak_ptr is there for resolving reference cycles.
[ Parent
| on HN ]
Re:A Usable C++ Dialect That Is Safe Against Memory Corruption
by pdpi on Thursday March 15, 2018 @08:54PM
(#16597797)
Which means you have to design around it. You can definitely run into problems with cyclical shared_ptr dependencies