Boost logo

Boost :

Subject: Re: [boost] safe bool operator
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2010-03-04 07:53:10


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


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