divyang4481 / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

Would be nice to have a FB::WeakPtr that is compatible with FB::AutoPtr #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I understand the decision to avoid/defer a dependency on Boost, but given 
that this is the case, it sure would be nice to have a FireBreath class to 
serve as a weak pointer to an AutoPtr.

Original issue reported on code.google.com by bhay...@post.harvard.edu on 11 May 2010 at 4:32

GoogleCodeExporter commented 8 years ago
Actually the problem in this case was rather that i didn't know how to 
transparently replace the already existing 
AutoPtr with boost::intrusive_ptr or the like without resorting to hackish 
approaches (open to suggestions 
though).

A weak pointer would be nice, but it might take a while until we find the time 
for something like that (it could so 
easily be done wrong when in a hurry).

Original comment by georg.fritzsche on 11 May 2010 at 8:16

GoogleCodeExporter commented 8 years ago
In the http://code.google.com/r/taxilian-sharedptr/ branch that will go into 
1.2, we now use boost::shared_ptr for everything and AutoPtr is gone.

Problem solved =]

Original comment by taxilian on 11 Sep 2010 at 12:22