mirror of
https://github.com/boostorg/function.git
synced 2025-07-04 08:16:31 +02:00
? true : false trick, again
[SVN r14892]
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user