basic_directory_entry::operator<运算符

指定存储的 Path 对象是否比指定的 Path 对象小于。

bool operator<(
   const basic_directory_entry& Right
) const;

参数

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

返回值

true,如果存储的 Path 对象的文件名长于指定的 Path 对象的文件名小于;否则,false。

要求

**标头:**文件系统

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

请参见

参考

basic_directory_entry选件类

<filesystem>