Ipc::StoreMap class kids need access to Shared::SharedMemorySize (at least) so
the Shared type declaration should be at least protected. Made it public
because the currently public Ipc::StoreMap::Owner typedef uses it.
public:
typedef StoreMapSlot Slot;
-private:
- struct Shared {
+ /// data shared across maps in different processes
+ class Shared {
+ public:
Shared(const int aLimit, const size_t anExtrasSize);
size_t sharedMemorySize() const;
static size_t SharedMemorySize(const int limit, const size_t anExtrasSize);