Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • "to break circular references" how? Commented Jun 14, 2016 at 23:10
  • @curiousguy Rainer Grimm has done a pretty good job in explaining these circular references and how to break them using std::weak_ptr: "Back to Basics: Smart Pointers - Rainer Grimm - CppCon 2020" -- youtu.be/sQCSX7vmmKY?t=2496 (for some reason if the video starts from the beginning then skip to 41:36) Commented Apr 13, 2022 at 18:55
  • This is just a copy/paste of the link, which people searching could already find themselves. It adds nothing. Commented Mar 24, 2023 at 13:19