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? Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***