|
Boost : |
Subject: Re: [boost] Boost.Test v3 is here
From: Rob Stewart (rob.stewart_at_[hidden])
Date: 2015-05-29 18:04:26
On May 29, 2015 1:15:38 PM EDT, Gennadiy Rozental <rogeeff_at_[hidden]> wrote:
> Marcel Raad <raad <at> teamviewer.com> writes:
>
> > If I define BOOST_TEST_NO_OLD_TOOLS, I get
> > a lot of compilation errors because of
> > missing operator<< for the classes used
> > with BOOST_TEST(a == b). Is that expected?
>
> If a and b do not have operator << overloaded then yes.
>
> You can use BOOST_TEST((a==b)) or can use
> BOOST_TEST_DONT_PRINT_LOG_VALUE(type)
That's a ridiculously long macro name for a not uncommon use case.
___
Rob
(Sent from my portable computation engine)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk