Will therefore GDB utilize C++ or not?

Aurelian Melinte ame01@gmx.net
Fri May 18 20:41:00 GMT 2012


On 18/05/2012 4:06 PM, Tom Tromey wrote:
>>>>>> "Paul" ==<Paul_Koning@Dell.com>  writes:
>>>>>>              
> Tom>  We'd use RAII to ensure that refcounts were automatically managed
> Tom>  by the C++ compiler.
>    

C++11 (that is g++ 4.3 and later) offers an std::shared_pointer; 
non-intrusive (the reference is not in the object being pointed to).

Regards,
a.



More information about the Gdb mailing list