문제

My old Boost code:

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

In new Boost version this is compiled only with #define BOOST_FILESYSTEM_VERSION 2. What is complete replacement in the new Boost version?

도움이 되었습니까?
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top