[Boost-bugs] [Boost C++ Libraries] #9643: rename should be more eplicit that it allows file move operations

Subject: [Boost-bugs] [Boost C++ Libraries] #9643: rename should be more eplicit that it allows file move operations
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-07 14:57:54


#9643: rename should be more eplicit that it allows file move operations
----------------------------------+------------------------
 Reporter: Richard <legalize@…> | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
----------------------------------+------------------------
 The documentation for rename says that it renames the file and then refers
 to the ISO C web page for rename for details. That page implies that the
 new name can be in another directory with the same filename to perform a
 move file operation, but it would be much more helpful if the boost
 filesystem documentation stated this explicitly.

 On stackoverflow, someone comments that if the move files due to
 filesystem differences, then you have to do a copy/delete combination
 anyway. It seems like if this is real possibility that
 boost.filesystme.rename should be enhanced to handle that for me so I
 don't have to remember a three-step operation in order to move files: 1)
 try rename and if that fails, then 2) copy file, and 3) delete file

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9643>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC