cpp/filesystem/directory iterator/directory iterator

Constructs a new directory iterator.

@1@ Constructs the end iterator.

@2@ Constructs a directory iterator that refers to the first directory entry of a directory identified by. If refers to a non-existing file or not a directory, throws std.

@3@ Same as, but if std is set in and construction encounters a permissions denied error, constructs the end iterator and does not report an error.

@4@ Constructs a directory iterator that refers to the first directory entry of a directory identified by. If refers to a non-existing file or not a directory, returns the end iterator and sets.

@5@ Same as, but if std is set in and construction encounters a permissions denied error, constructs the end iterator and does not report an error.

Exceptions
@2-5@