std::filesystem::directory_entry::operator==,!=,<,<=,>,>=,<=> - cppreference.com
From cppreference.com
|
|
(1) | (since C++17) |
|
|
(2) | (since C++17) (until C++20) |
|
|
(3) | (since C++17) (until C++20) |
|
|
(4) | (since C++17) (until C++20) |
|
|
(5) | (since C++17) (until C++20) |
|
|
(6) | (since C++17) (until C++20) |
|
|
(7) | (since C++20) |
Compares the path with the directory entry rhs.
|
The |
(since C++20) |
Parameters
| rhs | - | directory_entry to compare |
Return value
1) true if path() == rhs.path(), false otherwise.
2) true if path() != rhs.path(), false otherwise.
3) true if path() < rhs.path(), false otherwise.
4) true if path() <= rhs.path(), false otherwise.
5) true if path() > rhs.path(), false otherwise.
6) true if path() >= rhs.path(), false otherwise.
7) The result of path() <=> rhs.path().