On 18 November 2012 18:25, Basile Starynkevitch wrote: > On Sun, Nov 18, 2012 at 08:06:08AM -1000, NightStrike wrote: >> On Sun, Nov 18, 2012 at 8:03 AM, Basile Starynkevitch >> <bas...@starynkevitch.net> wrote: >> > I really think that GCC need some form of garbage collector. > [...] >> >> What's wrong with std::shared_ptr? > How does it deal with complex circular references that every compiler has? > > I'm understanding that std::shared_ptr cannot realiably deal with circular > references > (because it maintains essentially a reference counter). > > Could you explain me how std::shared_ptr deal with circular references?
See http://gcc.gnu.org/ml/gcc/2011-10/msg00285.html