Daniel Frey
Sun, 31 Aug 2003 16:54:13 +0000
Although I don't see this as problematic:
optional<int> x;
if (x) foo(x);
Or perhaps:
optional<int> x;
if (!!x) foo(x);
We already have an implicit conversion to safe_bool and an operator ! anyway. Keep it. There's nothing wrong with it:
operator unspecified-bool-type() const; bool operator!() const;
-- Daniel Frey
aixigo AG - financial training, research and technology Schloß-Rahe-Straße 15, 52072 Aachen, Germany fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99 eMail: [EMAIL PROTECTED], web: http://www.aixigo.de
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost