diff --git a/test/operator_tests_simple.cpp b/test/operator_tests_simple.cpp index 1d565bf..630aeed 100644 --- a/test/operator_tests_simple.cpp +++ b/test/operator_tests_simple.cpp @@ -12,8 +12,9 @@ #include - +#ifndef BOOST_NO_STRINGSTREAM #include +#endif using namespace std; using namespace boost; @@ -26,6 +27,7 @@ unary_plus_tester operator+(const unary_plus_tester& a) { return a; } void cout_tests() { +#ifndef BOOST_NO_STRINGSTREAM using std::cout; ostringstream os; int i = 10; @@ -58,6 +60,7 @@ void cout_tests() constant_ref_type::type cr(constant_ref(i)); (++vi, var(a) = cr)(); BOOST_TEST(i == 101); +#endif } void arithmetic_operators() {