Boost logo

Boost :

Subject: Re: [boost] [atomic] Generalized read-modify-write operation
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-09-02 05:25:23


On 02.09.2015 01:17, Yiannis Papadopoulos wrote:
>
> How about also a stand-alone version so that it can be used with
> std::atomic<T>?

I wasn't planning that. With a third-party atomic<> implementation it
would be impossible to achieve any performance benefits, so the only
improvement would be a cleaner code. Boost.Atomic currently doesn't
support atomic functions, so providing just one looks awkward and
implementing all of them requires more time.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk