Question

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

Dans la nouvelle version Boost cela est compilé uniquement avec #define BOOST_FILESYSTEM_VERSION 2. Quel est le remplacement de complete dans la nouvelle version de Boost?

Était-ce utile?
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top