
8 Jun
2009
8 Jun
'09
2:06 a.m.
Is it possible to use Boost.Test macros with std::wstring directly like this: BOOST_TEST_MESSAGE(L"test log"); ?
Boost.Test internally uses std::ostream. So if you want above to work you'll need to supply appropriate output method.
Proper wide string support is not implemented yet.
Gennadiy
Thanks for the answer, Gennadiy. While I could wrap it with another
layer, it'll be great if it's a built-in feature, so that I won't copy
some additional code around while using boost.test, esp. that these days
I started every little project with these 2 lines:
#define BOOST_TEST_MODULE my
#include