This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC - Alternatives to gengtype


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
>> <basile@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]