Question

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?

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top