This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++17 status.
recursive_directory_iterator
effects refers to non-existent functions
Section: 31.12.12.2 [fs.rec.dir.itr.members] Status: C++17 Submitter: Jonathan Wakely Opened: 2014-07-10 Last modified: 2017-07-30
Priority: 0
View all other issues in [fs.rec.dir.itr.members].
View all issues with C++17 status.
Discussion:
operator++/increment
, second bullet item, ¶39 says
"Otherwise if
recursion_pending() && is_directory(this->status())
&& (!is_symlink(this->symlink_status())
..."
but recursive_directory_iterator
does not have status
or symlink_status
members.
[Apr 2016 Issue updated to address the C++ Working Paper. Previously addressed File System TS]
Proposed resolution:
Change 31.12.12.2 [fs.rec.dir.itr.members] ¶39 as indicated:
Otherwise if
recursion_pending() && is_directory((*this)->status()) && (!is_symlink((*this)->symlink_status())
..."