Boost logo

Boost :

Subject: Re: [boost] [Boost.Test] Assertion changes in trunk? [WAS: Call for Review: Boost.Test documentation rewrite]
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2014-01-23 05:53:58

On 22-01-2014 14:05, Dominique Devienne wrote:
> On Wed, Jan 22, 2014 at 1:21 PM, Thorsten Ottosen <
> thorsten.ottosen_at_[hidden]> wrote:

>> Completely reliable. You just bind the first object to some wrapper
>> class object which provide the overloaded operators (via delegation).
> This seems to rely on an op->* operator, which has lower precedence than
> unary op* (dereference), and the macro INTERNAL_CATCH_TEST uses
> un-parenthesized Catch::ExpressionDecomposer()->*expr, so won't this break
> if I do MACRO(*lhs_ptr == *rhs_ptr)?

Hm. I haven't tried that. Isn't it sufficient that ->* has higher
precedence than the comparison operators?


Boost list run by bdawes at, gregod at, cpdaniel at, john at