$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [test] BOOST_CHECK_EQUAL and wchar_t
From: Alexander (gutenev_at_[hidden])
Date: 2009-02-11 03:49:19
> This particular problem is a result of incorrect printing operation of
> wchar_t
> strings into ostream. You can probably implement one yourself, which does
> the
> better job.
The only way I get it called is when I declare it in boost::test_tools
namespace:
namespace boost
{
namespace test_tools
{
std::ostream& operator<<(std::ostream& stream, wchar_t const * s)
{
return (stream<< CW2A(s));
}
}
}