]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/filesystem/test/issues/copy_file-compilation-error-2015-05-04.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / filesystem / test / issues / copy_file-compilation-error-2015-05-04.cpp
CommitLineData
7c673cae
FG
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
6void myFunc()
7{
8 using namespace boost::filesystem;
9
20effc67 10 copy_options opt(copy_options::overwrite_existing);
7c673cae 11
20effc67 12 copy_file(path("p1"),path("p2"),copy_options::overwrite_existing);
7c673cae
FG
13// copy_file(path("p1"),path("p2"),opt);
14}