|
Boost : |
Subject: Re: [boost] safe bool not safe enough ?
From: Ahmed Charles (acharles_at_[hidden])
Date: 2013-07-28 06:40:28
> So
> bool b = t; // I wish it worked with Testable::explicit operator bool, but
> doesn't.
Sorry for bringing up such an old thread, but what's wrong with writing:
bool b(t);
Which does the same thing?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk