
14 Jun
2009
14 Jun
'09
8:02 a.m.
Tan, Tom (Shanghai) wrote:
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.
Is this decision out of convenience or any implementation obstacle. Specifically, what would be the problems if std::basic_ostream<Ch> is used instead?
It's just non-trivial to do properly. Gennadiy