In article <[EMAIL PROTECTED]>, Terje Slettebų <[EMAIL PROTECTED]> writes > >Regarding the other MSVC 6 warning given in the original report, Gennaro >Prota has suggested using an explicit "!=", rather than relying on the >implicit conversion from pointer to bool. This also avoids using a cast, >instead.
Or one could use "stream << input && true" ;-) However, I think if one is going to twist the expression of the code to satisfy the misplaced oversensitivity of VC, it may be better to be more explicit than subtle, ie "!(stream << input).fail()". Kevlin ____________________________________________________________ Kevlin Henney phone: +44 117 942 2990 mailto:[EMAIL PROTECTED] mobile: +44 7801 073 508 http://www.curbralan.com fax: +44 870 052 2289 Curbralan: Consultancy + Training + Development + Review ____________________________________________________________ _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost