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 a snapshot of the develop branch, built from commit f5a2dc2871.
PrevUpHomeNext

Struct template downcast_node_to_value_t

boost::intrusive::downcast_node_to_value_t

Synopsis

// In header: <boost/intrusive/hashtable.hpp>

template<typename ValueTraits, bool IsConst> 
struct downcast_node_to_value_t {
  // types
  typedef unspecified                                                                                       base_t;                    
  typedef base_t::result_type                                                                               result_type;               
  typedef ValueTraits                                                                                       value_traits;              
  typedef unordered_bucket_impl< value_traits >::type::node_traits::node                                    node;                      
  typedef unspecified                                                                                       first_argument_type;       
  typedef unspecified                                                                                       intermediate_argument_type;
  typedef pointer_traits< typenameValueTraits::pointer >::template rebind_pointer< constValueTraits >::type const_value_traits_ptr;    

  // construct/copy/destruct
  downcast_node_to_value_t(const_value_traits_ptr);

  // public member functions
  result_type operator()(first_argument_type) const;
};

Description

downcast_node_to_value_t public construct/copy/destruct

  1. downcast_node_to_value_t(const_value_traits_ptr ptr);

downcast_node_to_value_t public member functions

  1. result_type operator()(first_argument_type arg) const;

PrevUpHomeNext