directory_entry::basic_directory_entry Constructor
Constructs a directory_entry object.
directory_entry();
explicit directory_entry(
const path& Pval,
file_status Statarg = file_status(),
file_status Symstatarg = file_status()
);
directory_entry(
const directory_entry& Right
);
directory_entry(
directory_entry&& Right
);
Parameters
Pval
A path object.Statarg
A file_status object that represents the status of the file that is referenced by Pval.Symstatarg
A file_status object that represents the symbolic link status of the file that is reference by Pval.Right
A directory_entry object.
Remarks
The first constructor default-initializes the stored objects.
The second constructor initializes the stored path value to Pval, the stored file status to Statarg, and the stored symbolic link status to Symstatarg.
The third constructor copy-constructs the stored objects from the corresponding objects in Right.
The fourth constructor move-constructs the stored objects from the corresponding objects in Right.
Requirements
Header: filesystem
Namespace: std::tr2::sys