Boost logo

Boost Users :

Subject: Re: [Boost-users] How to make boost.test log wstring?
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-02-05 23:10:58


On Fri, Feb 5, 2010 at 12:53 PM, Alexey Badalov <don_reba_at_[hidden]> wrote:
> Boost.test logs to ostream, which does not have an operator for wstring.
> Consequently, I cannot test wstring values. How can I fix this?

For the time being you can convert it to a UTF-8 encoded std::string,
it will not be a perfect mapping, but may be accurate enough for your
needs until someone else suggests something better.


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