You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added directory_options. Set recursive_dir_iterator to end or pop on errors.
The directory_options enum reflects the same-named enum from C++20. It is now
supported by both directory_iterator and recursive_directory_iterator. In
particular, both iterators now support skip_permission_denied option.
recursive_directory_iterator is now set to end by default on errors, as
required by C++20. An additional directory_options::pop_on_error policy
is added to allow the iterator recover from an error. When this option is
specified and an error occurs, the iterator repeatedly pops the recursion level
until the pop completes successfully or the end state is reached.
recursive_directory_iterator that have standard counterparts (level,
no_push_pending, no_push_request and no_push) are now deprecated and can be
removed by defining BOOST_FILESYSTEM_NO_DEPRECATED. These members will be
removed in a future release.
Docs and tests updated accordingly. Also, in docs reconstructed release history
for the past releases from Boost release notes.
Fixes#112Fixes#113
The header provides <code>filesystem_error</code>, <code>file_status</code>, <code>directory_entry</code>, <code>directory_iterator</code>, <code>recursive_directory_iterator</code> and associated enums and functions.</td>
366
+
<tdstyle="font-size: 10pt" valign="top">
367
+
✔</td>
368
+
<tdstyle="font-size: 10pt" valign="top">
369
+
<i>These components were moved to separate headers </i><code>exception.hpp</code><i>, </i><code>file_status.hpp</code><i> and </i><code>directory.hpp</code><i>.
370
+
The workaround is to include the new headers or </i><code>filesystem.hpp</code><i>. The new headers are still included by </i><code>operations.hpp</code><i> if
371
+
</i><code>BOOST_FILESYSTEM_NO_DEPRECATED</code><i> is not defined.</i></td>
372
+
</tr>
326
373
<tr>
327
374
<tdstyle="font-size: 10pt" valign="top">
328
375
Macro definitions</td>
@@ -367,21 +414,21 @@ <h2><a name="Deprecated-names">Deprecated names</a> and features</h2>
367
414
368
415
<h2>Deprecation rationale</h2>
369
416
<h3><code>initial_path</code> function</h3>
370
-
<pdir="ltr">Full implementation of <code>initial_path()</code> would require
371
-
support from the C++ runtime startup code, and that doesn't seem likely to
372
-
happen. Depending on the user to call <code>initial_path()</code> at the
373
-
beginning of <code>main()</code> is too error prone. An equivalent
417
+
<pdir="ltr">Full implementation of <code>initial_path()</code> would require
418
+
support from the C++ runtime startup code, and that doesn't seem likely to
419
+
happen. Depending on the user to call <code>initial_path()</code> at the
420
+
beginning of <code>main()</code> is too error prone. An equivalent
0 commit comments