std::experimental::filesystem::directory_entry::operator==,!=,<,<=,>,>=
來自 cppreference.com
< cpp | experimental | fs | directory_entry
bool operator==( const directory_entry& rhs ) const; |
(1) | (filesystem TS) |
bool operator!=( const directory_entry& rhs ) const; |
(2) | (filesystem TS) |
bool operator<( const directory_entry& rhs ) const; |
(3) | (filesystem TS) |
bool operator<=( const directory_entry& rhs ) const; |
(4) | (filesystem TS) |
bool operator>( const directory_entry& rhs ) const; |
(5) | (filesystem TS) |
bool operator>=( const directory_entry& rhs ) const; |
(6) | (filesystem TS) |
將路徑與目錄項 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。
[編輯] 異常
noexcept 規範:
noexcept
[編輯] 參閱
返回該條目引用的路徑 (public member function) |