【问题标题】:Boost filesystem complete replacementBoost文件系统完全替换
【发布时间】:2012-02-20 12:44:34
【问题描述】:

我的旧 Boost 代码:

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

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

【问题讨论】:

    标签: c++ boost-filesystem


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多