Section

std::filesystem::directory_entry

Represents a directory entry. The object stores a path as a member and may also store additional file attributes (hard link count, status, symlink status, file size, and last write time) during directory iteration.

# Declarations

class directory_entry;

(since C++17)

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 3171C++17directory_entry couldn’t be inserted by operator« because of LWG2989output enabled again