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 unordered_default_bucket_traits

boost::intrusive::unordered_default_bucket_traits

Synopsis

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

template<typename ValueTraitsOrHookOption> 
struct unordered_default_bucket_traits {
  // types
  typedef ValueTraitsOrHookOption::template pack< empty >::proto_value_traits                                  supposed_value_traits;
  typedef bucket_traits_impl< typename unordered_bucket_ptr_impl< supposed_value_traits >::type, std::size_t > type;                 
};

Description

This metafunction will obtain the type of the default bucket traits (when the user does not specify the bucket_traits<> option) from the value_traits or hook option to be used with a hash container.


PrevUpHomeNext