Boost logo

Boost :

Subject: Re: [boost] request for interest in a garbage collection library
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-04-21 12:58:15


Achilleas Margaritis wrote:

>> I even wonder how gc_ptr<T>::gc_ptr::(T*) can be a safe constructor at
>> all.
>
> What do you mean exactly?

What if I do something like

Foo foo;
gc_ptr<Foo> bar = &foo;

?

>> A fairly terrible design, that has a lot of shortcomings, some of
>> which where raised when talking of Boehm GC (basically, bad integration).
>
> What shortcomings do you specifically refer to?

I didn't understand you were overloading operator new for the class, I
thought it was a global overloading.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk