![]() |
Home | Libraries | People | FAQ | More |
boost::interprocess::map_index
// In header: <boost/interprocess/indexes/map_index.hpp> template<typename MapConfig> class map_index { public: // types typedef ; typedef ; typedef ; typedef ; typedef ; typedef ; // public member functions (segment_manager_base *); (); (); (, ); (, , , ); (); };
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 member functions(segment_manager_base * segment_mngr);
Constructor. Takes a pointer to the segment manager. Can throw
();
This reserves memory to optimize the insertion of n elements in the index
();
This tries to free previously allocate unused memory.
( key, );
( k, context, index_data, );
( k);