boost interval container in shared memory
13 Oct
2015
13 Oct
'15
2:29 p.m.
I have been trying to store boost interval map in shared memory, but my
code below does not compile when I pass allocator while constructing map.
After seeing template definition of boost interval_map I assume that boost
icl only supports std::allocator. Is there any way to store this container
in shared memory.
int main () {
static bip::managed_shared_memory
global_mm(boost::interprocess::open_or_create,
"MySharedMemory",65536 //segment name
);
static bip::allocator
3333
Age (days ago)
3333
Last active (days ago)
0 comments
1 participants
participants (1)
-
Asna Ishrat