...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::flat_map_index
template<typename MapConfig> class flat_map_index : public boost::interprocess::flat_map< key_type, mapped_type, key_less, allocator_type > { public: // construct/copy/destruct flat_map_index(segment_manager_base *); // public member functions void reserve(std::size_t) ; void shrink_to_fit() ; };
Index type based in flat_map. Just derives from flat_map and defines the interface needed by managed memory segments.
flat_map_index
public
construct/copy/destructflat_map_index(segment_manager_base * segment_mngr);
Constructor. Takes a pointer to the segment manager. Can throw