Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does boost test have support for wide strings?

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.

like image 698
rturrado Avatar asked Feb 21 '26 05:02

rturrado


1 Answers

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.

like image 85
zr. Avatar answered Feb 23 '26 20:02

zr.