Boost logo

Boost :

Subject: Re: [boost] [atomic] (op)_and_test naming
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2018-01-28 18:00:33

Thanks everyone who participated in the discussion.

I have committed a change to the develop branch that flips the
(op)_and_test results to the opposite:

Hopefully, it will be released in Boost 1.67.

This is a breaking change. Users upgrading from Boost 1.66 can define
BOOST_ATOMIC_HIGHLIGHT_OP_AND_TEST macro when building their code. This
will generate warnings on each use of the changed (op)_and_test function
so that it is easier to locate the affected code. To update your code
you typically need to add or remove negation of the operation result.

In due time I will add a note in the 1.67 release notes.

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