Boost C++ Libraries 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 to view this page for the latest version.

Struct template function_hook



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

template<typename Functor> 
struct function_hook {
  // member classes/structs/unions
  template<typename Base> 
  struct pack {
    // types
    typedef function_value_traits value_traits;
  < Functor > function_value_traits;  // @ typedef detail::function_hook_traits 


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.