filesystem

The contents of this module can be included with the header hpx/modules/filesystem.hpp. These headers may be used by user-code but are not guaranteed stable (neither header location nor contents). You are using these at your own risk. If you wish to use non-public functionality from a module we strongly suggest only including the module header hpx/modules/filesystem.hpp, not the particular header in which the functionality you would like to use is defined. See Public API for a list of names that are part of the public HPX API.

This file provides a compatibility layer using Boost.Filesystem for the C++17 filesystem library. It is not intended to be a complete compatibility layer. It only contains functions required by the HPX codebase. It also provides some functions only available in Boost.Filesystem when using C++17 filesystem.

namespace hpx
namespace filesystem

Functions

path initial_path()
std::string basename(path const &p)
path canonical(path const &p, path const &base)
path canonical(path const &p, path const &base, std::error_code &ec)