...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::intrusive::pointer_plus_bits<boost::interprocess::offset_ptr< T >, NumBits>
// In header: <boost/interprocess/offset_ptr.hpp> template<typename T, std::size_t NumBits> struct pointer_plus_bits<boost::interprocess::offset_ptr< T >, NumBits> { // types typedef boost::interprocess::offset_ptr< T > pointer; // public static functions static pointer get_pointer(const pointer &); static void set_pointer(pointer &, pointer); static std::size_t get_bits(const pointer &); static void set_bits(pointer &, std::size_t); static const std::size_t Mask; };