I'm stuck with GCC7.1 for which I have to use #include <experimental/filesystem> instead of #include <filesystem>.
So I have namespace fs = std::experimental::filesystem; and then in the code I use fs::relative(p, base) which gives me error: ‘relative’ is not a member of ‘fs’.
It was working with normal C++17 filesystem, but doesn't seem to be present in experimental::filesystem. How can I use relative function with experimental::filesystem?