|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57554 - trunk/libs/filesystem/doc
From: bdawes_at_[hidden]
Date: 2009-11-10 14:45:48
Author: bemandawes
Date: 2009-11-10 14:45:47 EST (Tue, 10 Nov 2009)
New Revision: 57554
URL: http://svn.boost.org/trac/boost/changeset/57554
Log:
Filesystem: Fix #3528. Return type is bool.
Text files modified:
trunk/libs/filesystem/doc/reference.html | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: trunk/libs/filesystem/doc/reference.html
==============================================================================
--- trunk/libs/filesystem/doc/reference.html (original)
+++ trunk/libs/filesystem/doc/reference.html 2009-11-10 14:45:47 EST (Tue, 10 Nov 2009)
@@ -2206,7 +2206,7 @@
</span> <code>basic_filesystem_error<Path1, Path2></code><span style="background-color: #FFFFFF">
if <code>ec</code> is not zero.</span></p>
</blockquote>
-<pre>template <class Path> void remove(const Path& p, system::error_code & ec = <i>singular</i> );</pre>
+<pre>template <class Path> bool remove(const Path& p, system::error_code & ec = <i>singular</i> );</pre>
<blockquote>
<p><i>Effects:</i> Removes the file <code>p</code>,
as if by<i> POSIX </i><code>
@@ -2224,6 +2224,8 @@
the error.if <code>ec != </code><i><code>singular</code></i>, then <code>
ec.clear()</code></li>
</ul>
+ <p><i>Returns:</i> <code>true</code> if the file was removed, otherwise <code>
+ false</code>.</p>
<p><i>Postcondition:</i> <code>!exists(p)</code></p>
<p><i>Throws:</i> See <i>Effects</i>.</p>
<p>[<i>Note:</i> A symbolic link is itself removed, rather than the file it
@@ -3085,7 +3087,7 @@
<p>Distributed under the Boost Software License, Version 1.0. See
<a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a></p>
<p>Revised
-<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B %Y" startspan -->17 May 2009<!--webbot bot="Timestamp" endspan i-checksum="15147" --></p>
+<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B %Y" startspan -->10 November 2009<!--webbot bot="Timestamp" endspan i-checksum="40581" --></p>
</body>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk