...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::interprocess::unordered_map_index
// In header: <boost/interprocess/interprocess_fwd.hpp> template<typename IndexConfig> class unordered_map_index : public unordered_map_index_aux::index_t< MapConfig > { public: // construct/copy/destruct unordered_map_index(segment_manager_base *); // public member functions void reserve(typename segment_manager_base::size_type); void shrink_to_fit(); };
Index type based in unordered_map. Just derives from unordered_map and defines the interface needed by managed memory segments
unordered_map_index
public
construct/copy/destructunordered_map_index(segment_manager_base * segment_mngr);
Constructor. Takes a pointer to the segment manager. Can throw