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_map_index_aux

boost::interprocess::unordered_map_index_aux

Synopsis

template<typename MapConfig> 
struct unordered_map_index_aux {
  // types
  typedef MapConfig::key_type                                                           key_type;      
  typedef MapConfig::mapped_type                                                        mapped_type;   
  typedef std::equal_to< key_type >                                                     key_equal;     
  typedef std::pair< const key_type, mapped_type >                                      value_type;    
  typedef private_adaptive_pool< value_type, typename MapConfig::segment_manager_base > allocator_type;
  typedef unordered_map< key_type, mapped_type, hasher, key_equal, allocator_type >     index_t;       

  struct hasher {

    // public member functions
    std::size_t operator()(const key_type &) const;
  };
};

Description

Helper class to define typedefs from IndexTraits


PrevUpHomeNext