basic_directory_entry::operator== Operator

指定用于存储 Path 对象是否等于指定的 Path 对象在相等。

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

参数

  • Right
    存储 Path 对象的 basic_directory_entry 对象。

返回值

true,如果存储 Path 对象的文件名与指定的 Path 对象的文件名相等;否则,返回 false。

要求

标头: filesystem

命名空间: std::tr2::sys

请参见

参考

basic_directory_entry 类

<filesystem>