...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::unordered_group_adapter
// In header: <boost/intrusive/unordered_set_hook.hpp> template<typename NodeTraits> struct unordered_group_adapter { // types typedef NodeTraits::node node; typedef NodeTraits::node_ptr node_ptr; typedef NodeTraits::const_node_ptr const_node_ptr; // public static functions static node_ptr get_next(const_node_ptr); static void set_next(node_ptr, node_ptr); };