命名空间
变体
操作

std::experimental::filesystem::directory_entry::运算符==,!=,<,<=,>,>=

来自 cppreference.cn
< cpp‎ | experimental‎ | fs‎ | 目录项
 
 
 
 
bool 运算符==( const directory_entry& rhs ) const;
(1) (文件系统 TS)
bool 运算符!=( const directory_entry& rhs ) const;
(2) (文件系统 TS)
bool 运算符<( const directory_entry& rhs ) const;
(3) (文件系统 TS)
bool 运算符<=( const directory_entry& rhs ) const;
(4) (文件系统 TS)
bool 运算符>( const directory_entry& rhs ) const;
(5) (文件系统 TS)
bool 运算符>=( const directory_entry& rhs ) const;
(6) (文件系统 TS)

将路径与目录项 rhs 进行比较。

目录

[编辑] 参数

rhs - 要比较的目录项

[编辑] 返回值

1) true 如果 path() == rhs.path(), false 否则。
2) true 如果 path() != rhs.path(), false 否则。
3) true 如果 path() < rhs.path(), false 否则。
4) true 如果 path() <= rhs.path(), false 否则。
5) true 如果 path() > rhs.path(), false 否则。
6) true 如果 path() >= rhs.path(), false 否则。

[编辑] 异常

noexcept 规范:  
noexcept
  

[编辑] 参见

返回条目引用的路径
(公共成员函数) [编辑]