std::filesystem::directory_entry::operator==,!=,<,<=,>,>=
提供: cppreference.com
<tbody>
</tbody>
bool operator==( const directory_entry& rhs ) const noexcept; |
(1) | (C++17以上) |
bool operator!=( const directory_entry& rhs ) const noexcept; |
(2) | (C++17以上) |
bool operator<( const directory_entry& rhs ) const noexcept; |
(3) | (C++17以上) |
bool operator<=( const directory_entry& rhs ) const noexcept; |
(4) | (C++17以上) |
bool operator>( const directory_entry& rhs ) const noexcept; |
(5) | (C++17以上) |
bool operator>=( const directory_entry& rhs ) const noexcept; |
(6) | (C++17以上) |
パスをディレクトリエントリ 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。関連項目
| エントリが参照しているパスを返します (パブリックメンバ関数) |