...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::interprocess::swap
// In header: <boost/interprocess/offset_ptr.hpp> template<typename T, typename P, typename O, std::size_t A> void swap(boost::interprocess::offset_ptr< T, P, O, A > & pt, boost::interprocess::offset_ptr< T, P, O, A > & pt2);