2012-02-20 93 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版本?

回答