I was wondering if there is a well C++ library that provides a file memory mapping container akin to std::vector or boost::array, with the notable difference that it operates on a file memory map.
Right now I'm considering implementing such myself, based on boost::array, but I'd rather not reinvent the wheel.
Check out boost interprocess. It contains a lot of containers and allocators suitable for use with arbirtrary memory locations. There is also direct support for mapped files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With