I would be interested in something like a multi index container in shared memory.

Is it possible to allocate, e.g., a boost::multi_index_container in shared memory, so that different executables can read/write its data? How?

Thank's.

有帮助吗?

解决方案

I've googled...

Boost.Interprocess seems to fit. From this page:

The widely used Boost.MultiIndex library is compatible with Boost.Interprocess so we can construct pretty good databases in shared memory.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top