On Mon, Mar 19, 2012 at 12:56 AM, Basile Starynkevitch <[email protected]> wrote: > On Sun, 18 Mar 2012 20:49:24 +0000 > Jonathan Wakely <[email protected]> wrote: > >> On 18 March 2012 16:56, Basile Starynkevitch wrote: >> > >> > * a garbage collector. Even a modular GCC need some memory management >> > policy (and >> > ref-counting à la GTK, or à la std::shared_ptr is not enough IMHO inside a >> > compiler >> > because a compiler has much more complex and circular data structures, and >> > much less >> > hierarchically organized, that a graphical tookit has). >> >> As has been pointed out to you before, shared_ptr is designed to be >> useful even with circular structures. Please read about weak_ptr. > > > Then why has it not being used before?
by whom? where? -- Gaby
