title: boost c++ offset pointers in memory mapped files
body: <p>I want to implement a memory mapped file.
  With reference to: <a href="http://www.boost.org/doc/libs/1_66_0/doc/html/interprocess/sharedmemorybetweenprocesses.html#interprocess.sharedmemorybetweenprocesses.mapped_file" rel="nofollow noreferrer">http://www.boost.org/doc/libs/1_66_0/doc/html/interprocess/sharedmemorybetweenprocesses.html#interprocess.sharedmemorybetweenprocesses.mapped_file</a>! i now  understand the basics of memory mapped file and implementation. However i was not able to find a through example of usage of offset pointer with memory mapped file. Can anybody throw some light on this and provide small code snippet if possible?</p>