From dcdfacefb2313e3c8a7c2fa35f7b0949152c3e52 Mon Sep 17 00:00:00 2001 From: mandreyel Date: Tue, 28 Nov 2017 12:24:44 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4500706..5f511d1 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # mio An easy to use header-only cross-platform C++11 memory mapping library with an MIT license. +mio has been created with the goal to be easily includable (i.e. no dependencies) in any C++ project that needs memory mapped file IO without the need to pull in Boost. + Please feel free to open an issue, I'll try to address any concerns as best I can. ### Why? -mio has been created with the goal to be easily includable (i.e. no dependencies) in any C++ project that needs memory mapped file IO without the need to pull in Boost. - The primary motivation for writing this library instead of using Boost.Iostreams, was the lack of support for establishing a memory mapping with an already open file handle/descriptor. This is possible with mio. Albeit a minor nitpick, Boost.Iostreams implements memory mapped file IO with a `std::shared_ptr` to provide shared semantics, even if not needed, and the overhead of the heap allocation may be unnecessary and/or unwanted.