|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2007-11-02 15:48:21
Should these be in the trunk?
Index: bitset_test.hpp
===================================================================
--- bitset_test.hpp (revision 40672)
+++ bitset_test.hpp (working copy)
@@ -1006,7 +1006,8 @@
bool did_throw = false;
try {
- s << b;
+ static_cast<void>
+ (s << b);
}
#if defined BOOST_OLD_IOSTREAMS
catch(...) {
@@ -1081,7 +1082,8 @@
const std::ios::iostate except = is.exceptions();
bool has_stream_exceptions = true;
try {
- is >> b;
+ static_cast<void>
+ (is >> b);
}
catch(const std::ios::failure &) {
did_throw = true;
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk