boost::intrusive::function_hook
// In header: <boost/intrusive/options.hpp> template<typename Functor> struct function_hook { };
This option setter specifies the function object that will be used to convert between values to be inserted in a container and the hook to be used for that purpose.