
4 Mar
2010
4 Mar
'10
12:53 p.m.
Domagoj Saric wrote:
But there is no need for any of that...shared_ptr already has an efficient implementation... I just wrapped this implementation along with one of my one (that is perhaps slightly less 'clean' but easier on the optimizer) into a 'reusable' solution...
User testimonial: in my own boost absed library when i have a pointer like class and i want the safe bool conversion, I make it so my members are named in such a way tha including the shared_ptr safe_bool header is all I need. Never had any problem