add boost mmap snippets