basic_directory_entry::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>