Could this library support the use std::filesystem::path? You can also use std::optional to represent optional parameters without a raw pointer. Both are C++17 only.
Then, the library could go through a deprecation process of returning std::string paths and slowly convert the ecosystem to using std::filesystem for path-like types.
Feature Request
Could this library support the use std::filesystem::path? You can also use std::optional to represent optional parameters without a raw pointer. Both are C++17 only.
Example
For functions that return
std::string
currently such asget_package_prefix
, an alternative signature may be needed to preserve ABI such as:Then, the library could go through a deprecation process of returning
std::string
paths and slowly convert the ecosystem to usingstd::filesystem
for path-like types.