gpt4 book ai didi

c++ - Boost文件系统完全替换

转载 作者:太空狗 更新时间:2023-10-29 20:00:01 26 4
gpt4 key购买 nike

我的旧 Boost 代码:

std::string CombinePath(const char* left, const char* right){    boost::filesystem::path p =  boost::filesystem::complete(         boost::filesystem::path(right, boost::filesystem::native),         boost::filesystem::path(left, boost::filesystem::native) );    return p.string();}

在新的 Boost 版本中,它仅使用 #define BOOST_FILESYSTEM_VERSION 2 编译。什么是新 Boost 版本中的 complete 替换?

最佳答案

关于c++ - Boost文件系统完全替换,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9361319/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com