Boost logo

Boost :

Subject: Re: [boost] Boost.Test updates in trunk: need for (mini) review?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2012-10-23 17:35:34


Thorsten Ottosen <thorsten.ottosen <at> dezide.com> writes:
> > One option I thought about is to introduce a mode where this new
> > tool is named BOOST_CHECK and old BOOST_CHECK is renamed into
> > BOOST_CHECK_...something.
>
> Sounds like a good option. It won't break anything, will it?

Unfortunately it might. Two glaring examples which are not supported are:

BOOST_CHECKA(a || b);
BOOST_CHECKA(a && b);

Following would work:

BOOST_CHECKA((a||b));
BOOST_CHECKA(a|b);

Ternary operator does not work either.

Otherwise I could have just replaced implementation and be done with it.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk