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