Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Struct template node_cast_adaptor

boost::intrusive::hashtable::node_cast_adaptor

Synopsis

// 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);
};

Description

node_cast_adaptor public construct/copy/destruct

  1. template<typename ConvertibleToF> 
      node_cast_adaptor(const ConvertibleToF & c2f, const hashtable * cont);

node_cast_adaptor public member functions

  1. base_t::node_ptr operator()(const typename slist::node & to_clone);
  2. void operator()(typename slist::node_ptr to_clone);

PrevUpHomeNext