directory_entry::operator== Operator

Specifies whether the storedpath object is equal to a specified path object.

bool operator==(
   const directory_entry& Right
) const;

Parameters

  • Right
    A directory_entry object that stores a path object.

Return Value

true if the file name of the stored path object is equal to the file name of the specified path object; otherwise, false.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

directory_entry Class

<filesystem>