Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-02-09 06:26:14


This one really bit me badly:

BOOST_CHECK_EQUAL now evaluates it's arguments *more than once*, for example
I have many tests that look like:

BOOST_CHECK_EQUAL(*it++, 0xD800u);

But the expression *it++ gets evaluated multiple times, and that really
screws up the tests :-/

IMO I can't see any good reason for such a change?

John.


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