如何将 boost::filesystem::path 转换为以下形式:
root/subdir1/subdir2/../some.file
至:
root/subdir1/some.file
可能有多个“升级”操作符?
最佳答案
查看canonical来自 Boost 文件系统库。
关于c++ - 如何将带有 ".."(向上)组件的 boost::filesystem::path 转换为正确的路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17062903/