2012-02-20 57 views
3

我的老升压代码:提高文件系统完全替代

 
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(); 
} 

在新的升压版本,它只能在#define BOOST_FILESYSTEM_VERSION 2编译。什么是complete替代新的Boost版本?

回答