mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added a subset of boost to ThirdParty folder. Code extracted from version boost version 1.59.0
14 lines
399 B
C++
14 lines
399 B
C++
// Rob Conde <rob.conde@ai-solutions.com> reports this fails
|
|
// to compile for Boost 1.58 with g++ 4.4.7 but is OK with FC++ 2013
|
|
|
|
#include "boost/filesystem/operations.hpp"
|
|
|
|
void myFunc()
|
|
{
|
|
using namespace boost::filesystem;
|
|
|
|
copy_option opt(copy_option::overwrite_if_exists);
|
|
|
|
copy_file(path("p1"),path("p2"),copy_option::overwrite_if_exists);
|
|
// copy_file(path("p1"),path("p2"),opt);
|
|
} |