Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-09-17 21:00:20


----- Original Message -----
From: "Douglas Gregor" <gregod_at_[hidden]>

> The fact that this discussion has come up again hints that these solutions
> should perhaps be documented somewhere. I would suggest the addition of a
> "safebool" type to utility.hpp that assists in the object-to-bool
conversion.
> Similarly, operator poisoning would belong in operators.hpp: for instance,
a
> type "not_equality_comparable" could be derived from to poison operators
==
> and != for the given class.
>
> If there is interest I can submit these for review.

Doug, I think these sound like great ideas. At least the operators.hpp (and
possibly also the utility.hpp) change can be made pending my approval,
without a formal review. Please post a proposed patch including a
documentation.

Thanks,
Dave


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