$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-11-11 13:23:34
>I am using the Boost Unit Test library and have code that uses the
> BOOST_CHECK_EQUAL macro with std::wstring instances. I get a
> compilation error when I do this because there is no operator<< defined
> for a narrow ostream and a wide string. So, I created one as shown
> below, but I am still getting the exact same compilation error (using
> MSVC 2003). With my new operators, I am able to manually insert wide
> strings into a narrow ostream, but the BOOST_CHECK_EQUAL macro expansion
> still doesn't seem to be picking it up. Any ideas?
Try putting your new functions into std namespace.
Gennadiy