Boost logo

Boost Users :

From: Sean Rohead (sean.rohead_at_[hidden])
Date: 2005-11-14 12:58:28


Putting the operators into the std namespace did fix the problem. Thank you
very much.

"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> wrote in message
news:dl2nkm$btk$1_at_sea.gmane.org...
> >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


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