Boost C++ Libraries: Ticket #6018: Add touch() and create_file() functions https://svn.boost.org/trac10/ticket/6018 <p> 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. </p> <p> 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. </p> <p> Alternatively, both could return a bool, true if successful, and not consider it an error if the file, respectfully, already/doesn't exist. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6018 Trac 1.4.3 Beman Dawes Thu, 13 Oct 2011 12:38:51 GMT status changed https://svn.boost.org/trac10/ticket/6018#comment:1 https://svn.boost.org/trac10/ticket/6018#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket