std::filesystem::proximate

std::filesystem::relative, std::filesystem::proximate

Defined in header <filesystem>
path relative( const std::filesystem::path& p,
               std::error_code& ec);
(1) (since C++17)
path relative( const std::filesystem::path& p,
               const std::filesystem::path& base = std::filesystem::current_path());
path relative( const std::filesystem::path& p,
               const std::filesystem::path& base,
               std::error_code& ec);
(2) 登录查看完整内容