Share via


basic_directory_iterator::operator++ Operator

Reads and stores the next file name and associated status.

basic_directory_iterator& operator++();
basic_directory_iterator& operator++(int);

Return Value

The first operator returns the next file name and associated status.

The second operator makes a copy of the current object, increments the iterator, and returns the copy of the original object.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_directory_iterator Class

<filesystem>