basic_directory_entry::operator== Operator

Specifies whether the stored Path object is equal to a specified Path object.

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

Parameters

  • Right
    A basic_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

basic_directory_entry Class

<filesystem>