Created on 2016-05-09.00:00:00 last changed 89 months ago
Proposed resolution:
This wording is relative to N4582.
Change [fs.class.rec.dir.itr], class recursive_directory_iterator synopsis, as indicated:
namespace std::filesystem { class recursive_directory_iterator { public: […] void pop(); void pop(error_code& ec); void disable_recursion_pending(); […] }; }
Change [fs.rec.dir.itr.members] as indicated:
void pop(); void pop(error_code& ec);-30- Requires: *this != recursive_directory_iterator().
-31- Effects: If depth() == 0, set *this to recursive_directory_iterator(). Otherwise, cease iteration of the directory currently being iterated over, and continue iteration over the parent directory. -?- Throws: As specified in Error reporting ([error.reporting]).
Unlike increment, pop() does not specify how it reports errors nor does it provide a std::error_code overload. However implementing pop() all but requires performing an increment, so it should handle errors in the same way.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2016-06-28 12:50:44 | admin | set | status: ready -> wp |
2016-05-22 15:38:38 | admin | set | status: new -> ready |
2016-05-10 19:52:12 | admin | set | messages: + msg8111 |
2016-05-09 00:00:00 | admin | create |