std::filesystem::directory_iterator::operator++, std::filesystem::directory_iterator::increment

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

# Return value

*this

# Example

This section is incompleteReason: no example

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 3013C++17error_code overload marked noexcept but can allocate memorynoexcept removed