Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

结构体 hashtable_defaults - Boost C++ 函数库
PrevUpHomeNext

结构体 hashtable_defaults

boost::intrusive::hashtable_defaults

提要

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


struct hashtable_defaults {
  // types
  typedef default_hashtable_hook_applier proto_value_traits;
  typedef std::size_t                    size_type;         
  typedef void                           key_of_value;      
  typedef void                           equal;             
  typedef void                           hash;              
  typedef default_bucket_traits          bucket_traits;     

  // public data members
  static const bool constant_time_size;
  static const bool power_2_buckets;
  static const bool cache_begin;
  static const bool compare_hash;
  static const bool incremental;
  static const bool linear_buckets;
  static const bool fastmod_buckets;
};

PrevUpHomeNext