Boost logo

Boost :

From: Ariel Badichi (abadichi_at_[hidden])
Date: 2005-09-21 18:41:05


David Abrahams wrote:
>
> Another thought:
>
> g = 0;
>
> it's easy to arrange that only a literal zero works there.

How?

> I don't love it, but maybe it will get your ideas flowing.
>

Something like:

     g = guard::inactive;
     g = guard::active;

or maybe

     g = guard::dismissed;
     g = !guard::dismissed;
     (ugh)

?

Overloading operators here may be a bit counter-intuitive.


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