Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] Proposal to add new memory order constants
From: Peter Dimov (lists_at_[hidden])
Date: 2014-05-20 13:46:04


Andrey Semashev wrote:

> Maybe I should better create a pull request removing the header from
> Boost.SmartPtr? (Should I also remove it from tests?) I could then commit
> the modified header to Boost.Atomic myself.

The reverse, actually. You first add the header to Boost.Atomic (as is,
without modifications). The link in boost/ will then point to one of the
copies, but it doesn't matter which, as they are identical, so nothing will
break.

I will then remove it from SmartPtr. The link in boost/ will then be
rerouted to the Boost.Atomic header and you can proceed with the changes. I
will take care of the SmartPtr side.

If you want to preserve history when adding the file to Boost.Atomic, the
procedure is slightly more complicated:

https://svn.boost.org/trac/boost/wiki/NewLibByRefactor


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