std::filesystem::directory_iterator::operator++, std::filesystem::directory_iterator::increment
Min standard notice:
Advances the iterator to the next entry. Invalidates all copies of the previous value of *this.
# Declarations
directory_iterator& operator++();
(since C++17)
directory_iterator& increment( std::error_code& ec );
(since C++17)
# Parameters
ec: error code to store error status to
# Return value
*this
# Example
This section is incompleteReason: no example
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 3013 | C++17 | error_code overload marked noexcept but can allocate memory | noexcept removed |