Callable type matching fopen, so a custom file opener can be injected.

Synopsis

Declared in <util/fs.h>

using FopenFn = std::function<FILE*(fs::path const&, char const*)>;

Created with MrDocs