$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [test] BOOST_TEST macro and std::max
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2016-01-06 17:28:13
Le 06/01/16 21:07, Benedek Thaler a écrit :
>>
>> Can you dig a bit further?
>>
>
> I drilled down the code with gdb, here is the detailed listing:
> http://pastebin.com/pUjxEsiW
>
> 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.
Thanks, let's continue in the ticket :)
Raffi