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