diff --git a/doc/reference.html b/doc/reference.html
index 67ba273..c9b73cd 100644
--- a/doc/reference.html
+++ b/doc/reference.html
@@ -1807,11 +1807,11 @@ template <class Path> file_status symlink_status<
Returns: [Note: For symbolic links, If the operating system reports an error during attribute determination: If the underlying file system reports an error during attribute determination: [Note: The effect of this behavior is to distinguish between
+ knowing that p
+ does not exist, and not being able to determine the status of p. This
+ distinction is important to users. --end note]
- For
status, determine the attributes
+ For status, determine the attributes
of
p as if by POSIX
stat(),
- for symlink_status determine the attributes as if by POSIX
+ for symlink_status, determine the attributes as if by POSIX
lstat().
- stat() continues
@@ -1819,14 +1819,23 @@ template <class Path> file_status symlink_status<
does not. --
end note]
-
+ p could not
- be resolved, as if by POSIX error codes ENOENT or ENOTDIR, set ec to 0 and return
+ p could not be resolved, as
+ if by POSIX errors ENOENT or ENOTDIR, call ec.clear() and return
file_status(not_found_flag).
+
+
+
-
@@ -2154,22 +2163,26 @@ systems. --end note.]
file_status(status_unknown).
basic_filesystem_error<Path1, Path2>
if ec is not zero.
-template <class Path> bool remove(const Path& p);+
template <class Path> void remove(const Path& p, system::error_code & ec = singular );
-@@ -2178,8 +2191,7 @@ systems. --end note.]Effects: Deletes the file
presolves - to if it exists, +Effects: Removes the file
-p, as if by POSIX- - remove().Returns: The value of
-exists(p)prior to the - establishment of the postcondition.Postcondition:
-!exists(p)Throws:
+ remove(). + If no error is reported by the underlying removal implementation or ifbasic_filesystem_error<Path>if:+ status(p).type() == file_not_found, then:-
+- -
exists(p) && is_directory(p) && !empty(p).- Effects fails for any reason other than because
+p- does not resolve to an existing file.- if
ec !=singular, thenec.clear().Otherwise,
++
+- if
+ec !=singular, then setec+ to represent the error.- otherwise, throw
+basic_filesystem_error<Path>to represent + the error.ifec !=singular, then+ ec.clear()Postcondition:
+!exists(p)Throws: See Effects.
[Note: A symbolic link is itself removed, rather than the file it resolves to being removed. -- end note]
Effects: Recursively deletes the contents of p if it exists,
then deletes file p itself,
as if by POSIX
-
- remove().
Returns: The number of files removed.
Postcondition: !exists(p)
[Note: A symbolic link is itself removed, rather than the file it @@ -3068,7 +3080,7 @@ final document.
Distributed under the Boost Software License, Version 1.0. See www.boost.org/LICENSE_1_0.txt
Revised -29 June 2008
+02 July 2008