BOOST_CHECK_EQUAL broken/changed?

9 Feb
2005
9 Feb
'05
11:26 a.m.
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.

9 Feb
9 Feb
5:56 p.m.
"John Maddock" <john@johnmaddock.co.uk> wrote in message news:0d8001c50e9a$2da99c90$d1f10352@fuji...
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:
My fault. I did not think through all the consequences of new TT design. I will fix it once I have a stable version locally. Gennadiy
7431
Age (days ago)
7431
Last active (days ago)
1 comments
2 participants
participants (2)
-
Gennadiy Rozental
-
John Maddock