Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@Ryan-rsm-McKenzie Ryan-rsm-McKenzie released this 24 May 22:59

Breaking

  • mmio::mapped_file<...>::open now returns a mmio::open_result instead of bool. mmio::open_result is contextually convertible to bool, so it should not break most code, but users should be aware of it anyway.

Fixes

What's New?

  • Added support for greatly improved error messages when encountering io errors
  • Added begin/end to mmio::mapped_file<...> (and thus support for ranges)
  • mmio::mapped_file<...>::open now returns an opaque std::error_code (via mmio::open_result) that provides a much more descriptive overview of what caused io to fail.