? true : false trick, again

[SVN r14892]
This commit is contained in:
Douglas Gregor
2002-08-15 15:15:50 +00:00
parent 3e2a2b6c55
commit 1b848e15b7

View File

@ -507,7 +507,7 @@ test_zero_args()
BOOST_TEST(i0() == 3);
BOOST_TEST(i0? true : false);
i0.clear();
BOOST_TEST(!i0);
BOOST_TEST(!i0? true : false);
// Test return values with compatible types
typedef function0<long> func_long_type;