...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::base_from_member<MemberType &, UniqueID>
// In header: <boost/utility/base_from_member.hpp> template<typename MemberType, int UniqueID> class base_from_member<MemberType &, UniqueID> { public: // protected member functions explicit base_from_member(MemberType &) noexcept; };