mirror of
https://github.com/boostorg/function.git
synced 2025-07-27 11:27:15 +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() == 3);
|
||||||
BOOST_TEST(i0? true : false);
|
BOOST_TEST(i0? true : false);
|
||||||
i0.clear();
|
i0.clear();
|
||||||
BOOST_TEST(!i0);
|
BOOST_TEST(!i0? true : false);
|
||||||
|
|
||||||
// Test return values with compatible types
|
// Test return values with compatible types
|
||||||
typedef function0<long> func_long_type;
|
typedef function0<long> func_long_type;
|
||||||
|
Reference in New Issue
Block a user