Boost logo

Boost Users :

Subject: Re: [Boost-users] How to make boost.test log wstring?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-02-06 10:38:24


Alexey Badalov <don_reba <at> inbox.ru> writes:

>
>
> "Gennadiy Rozental" <rogeeff <at> gmail.com> wrote in message
> news:loom.20100206T071834-814 <at> post.gmane.org...
>
> > You can send in a patch which will make Boost.Test work with both ostream
> > and
> > wostream. Also you cna write an operator << (ostream&,wstring const&)
>
> I tried to put the operator above "#include <boost/test/unit_test.hpp>", but
> the same error persists, and mine is not in the candidate operator overload
> list displayed in the message - only operators defined in <ostream> are

Unfortunately I believe there only way to circumvent this it to define the
operator in namespace std.

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