views:

6

answers:

0

How can i access the offset_ptr of the object which is created in the shared memory?

segment = new managed_shared_memory(create_only, "MySharedMemory", segmentSize);  
line = segment->construct<Line>("Line1")("line");

I want to access of offset_ptr for Line object..