Ale*_*x F 3 c++ boost-filesystem
我的旧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
.什么是complete
新Boost版本的替代品?