Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] Proposal to add new memory order constants
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-05-20 14:04:24


On Tuesday 20 May 2014 20:46:04 Peter Dimov wrote:
> 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.

Ok, sounds like a plan. I've added the unchanged file to Boost.Atomic in
develop and master. Let me know when I can apply the changes.

> 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

There seem to be no valuable history for that header, so I went the simpler
way.


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