Does boost test have support for wide strings?

275 views Asked by At

I'm just using BOOST_TEST_MESSAGE(L"blah") and the only thing that is printed out is an hex value such as 0x12345678. Am I missing some configuration? I'm using boost 1.44.

1

There are 1 answers

0
zr. On BEST ANSWER

If you take a look at boost/test/unit_test_log.h, you can see that the class unit_test_log_t is using a std::ostream for streaming the logs. So, you will probably have to implement your own logger.