Boost logo

Boost Users :

From: Leo Carreon (lcarreon_at_[hidden])
Date: 2020-03-07 23:56:51


Hi Boost.Users,

I’m using Boost.Test from Boost 1.72.0 and I’m getting a failure when I perform the following test:

auto string_1 = u8”value”s;
auto string_2 = u8”value”s;
BOOST_TEST(string_1 == string_2);

However, the problem goes away when I change the test line to:

BOOST_TEST((string_1 == string_2));

What is the reason why Boost.Test is failing without the double parentheses?

Kind regards,
Leo



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net