Boost logo

Boost Users :

From: John C. Femiani (john.femiani_at_[hidden])
Date: 2008-07-16 19:17:43


Steven Watanabe wrote:
> AMDG
>
> Michiel Helvensteijn wrote:
>> I understand why the types of the arguments to BOOST_CHECK_EQUAL (and
>> BOOST_CHECK_PREDICATE, etc.) must have operator<< correctly defined.
>> Otherwise, the failure message could not be properly printed.
>> <snip>
>>
>> What more should I do to be able to use vector<int> in these tests?
>>
>
> Add this at global scope:
> BOOST_TEST_DONT_PRINT_LOG_VALUE(std::vector<int>);
>
This issue has affected me me as well. Boost.Test doesn't seem to use
an instance of std::ostream to print messages..?

--John


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