|
Boost : |
Subject: Re: [boost] safe bool operator
From: Domagoj Saric (domagoj.saric_at_[hidden])
Date: 2010-03-05 03:18:16
"Joel Falcou" <joel.falcou_at_[hidden]> wrote in message
news:4B8FAD36.1020500_at_lri.fr...
> 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
Isn't that actually yet another 'pointer' that a clean, public, reusable utility
component is needed for this 'age old' idiom?
-- "What Huxley teaches is that in the age of advanced technology, spiritual devastation is more likely to come from an enemy with a smiling face than from one whose countenance exudes suspicion and hate." Neil Postman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk