开发者

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 so开发者_运维知识库me configuration? I'm using boost 1.44.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜