Re: C++ and garbage collection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/02/2011, Enrico Weigelt wrote:
>
>> One viable approach is to modify the uses of pointers into shared_ptr
>> (from TR1 or boost) and then add the Boehm collector.  This process
>> takes work, because changing all pointers won't work and changing
>> none won't buy you anything.
>
> Guess this would take a lot of work and add more dependencies
> (than just the relatively small boehm-gc lib) ...

GCC includes a tr1::shared_ptr so there's no extra dependency if you
are only planning to use g++, and std::shared_ptr is part of C++0x.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux