
21 Sep
2005
21 Sep
'05
11:41 p.m.
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.