...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::hashtable::node_cast_adaptor
// In header: <boost/intrusive/hashtable.hpp> template<typename F> struct node_cast_adaptor { // types typedef unspecified base_t; // construct/copy/destruct template<typename ConvertibleToF> node_cast_adaptor(const ConvertibleToF &, const hashtable *); // public member functions base_t::node_ptr operator()(const typename slist::node &); void operator()(typename slist::node_ptr); };
node_cast_adaptor
public
construct/copy/destructtemplate<typename ConvertibleToF> node_cast_adaptor(const ConvertibleToF & c2f, const hashtable * cont);