Subject: Re: [boost] [test] BOOST_TEST macro and std::max
From: Benedek Thaler (thalerbenedek_at_[hidden])
Date: 2016-01-06 15:07:38
> Can you dig a bit further?
I drilled down the code with gdb, here is the detailed listing:
As far as I understand, the binary_expr gets constructed, holding the right
value (3) in m_rhs.
The address of this member is watched, which gets modified twice, by a
lazy_ostream object, which happens to be at the same address. The latest
value is the same as the one Boost.Test prints when reports the failed test.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk