std::filesystem::directory_entry::operator==,!=,<,<=,>,>=,<=>
来自cppreference.com
                    
                                        
                    < cpp | filesystem | directory entry
                    
                                                            
                    | bool operator==( const directory_entry& rhs ) const noexcept; | (1) | (C++17 起) | 
| bool operator!=( const directory_entry& rhs ) const noexcept; | (2) | (C++17 起) (C++20 前) | 
| bool operator<( const directory_entry& rhs ) const noexcept; | (3) | (C++17 起) (C++20 前) | 
| bool operator<=( const directory_entry& rhs ) const noexcept; | (4) | (C++17 起) (C++20 前) | 
| bool operator>( const directory_entry& rhs ) const noexcept; | (5) | (C++17 起) (C++20 前) | 
| bool operator>=( const directory_entry& rhs ) const noexcept; | (6) | (C++17 起) (C++20 前) | 
| std::strong_ordering operator<=>( const directory_entry& rhs ) const noexcept; | (7) | (C++20 起) | 
与 directory_entry rhs 比较路径。
参数
| rhs | - | 要比较的 directory_entry | 
返回值
1) 若 path() == rhs.path() 则为 true ,否则为 false 。
2) 若 path() != rhs.path() 则为 true ,否则为 false 。
3) 若 path() < rhs.path() 则为 true ,否则为 false 。
4) 若 path() <= rhs.path() 则为 true ,否则为 false 。
5) 若 path() > rhs.path() 则为 true ,否则为 false 。
6) 若 path() >= rhs.path() 则为 true ,否则为 false 。
7) path() <=> rhs.path() 的结果。
参阅
| 返回该目录项代表的路径 (公开成员函数) | 
 
	