Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-16 19:14:45


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>);

In Christ,
Steven Watanabe


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