[Boost-bugs] [Boost C++ Libraries] #6018: Add touch() and create_file() functions

Subject: [Boost-bugs] [Boost C++ Libraries] #6018: Add touch() and create_file() functions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-13 12:38:27


#6018: Add touch() and create_file() functions
------------------------------+---------------------------------------------
 Reporter: bemandawes | Owner: bemandawes
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.47.0 | Severity: Optimization
 Keywords: |
------------------------------+---------------------------------------------
 A function with the functionality of the POSIX touch utility would be a
 great convenience. It meets both the need to update times and the need to
 create a file.

 OTOH, it is a bit of a mishmash of logically separate features. Maybe what
 is really needed is a create_file() function that errors if the file
 already exists and a touch() function that errors if the file doesn't
 exist.

 Alternatively, both could return a bool, true if successful, and not
 consider it an error if the file, respectfully, already/doesn't exist.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6018>
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:07 UTC