5 Jan
2016
5 Jan
'16
1:11 p.m.
Le 05/01/16 00:35, Benedek Thaler a écrit :
Hi,
I'd expect the following cheks to pass:
BOOST_TEST(3u == (std::max)(0u, 3u)); BOOST_TEST(3u == ((std::max)(0u, 3u)));
But both fails with: check 3u == ((std::max)(0u, 3u)) has failed [3 != 7095312]
Did I miss something regarding BOOST_TEST usage?
Platform: Linux, GCC 5.3, Boost 1.60
Thanks, Benedek
Thanks for the report, would you please open a ticket on trac? Best, Raffi