Boost logo

Boost Users :

Subject: Re: [Boost-users] Does Boost.Test support std::wstring log messages?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-06-06 02:51:30


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.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net