1 // Rob Conde <rob.conde@ai-solutions.com> reports this fails 2 // to compile for Boost 1.58 with g++ 4.4.7 but is OK with FC++ 2013 3 4 #include "boost/filesystem/operations.hpp" 5 myFunc()6void myFunc() 7 { 8 using namespace boost::filesystem; 9 10 copy_options opt(copy_options::overwrite_existing); 11 12 copy_file(path("p1"),path("p2"),copy_options::overwrite_existing); 13 // copy_file(path("p1"),path("p2"),opt); 14 }