...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::map_index
// In header: <boost/interprocess/indexes/map_index.hpp> template<typename MapConfig> class map_index : public boost::container::map< MapConfig > { public: // construct/copy/destruct map_index(segment_manager_base *); // public member functions void reserve(typename segment_manager_base::size_type); void shrink_to_fit(); };
Index type based in boost::interprocess::map. Just derives from boost::interprocess::map and defines the interface needed by managed memory segments
map_index
public
construct/copy/destructmap_index(segment_manager_base * segment_mngr);
Constructor. Takes a pointer to the segment manager. Can throw