
10 Sep
2002
10 Sep
'02
4:29 p.m.
On Tuesday 10 September 2002 11:57 am, Peter Dimov wrote:
From: "Douglas Gregor"
safe_bool operator!() const { return (!this->empty())? 0 : &dummy::nonnull<int>; }
This is not related to the problem you are discussing, but operator! can (and probably should) return an ordinary bool.
Yes, it should return a bool. Thanks, I'll change this. Doug