bool operator==( const directory_entry& rhs ) const noexcept; | (1) | (since C++17) |
bool operator!=( const directory_entry& rhs ) const noexcept; | (2) | (since C++17) (until C++20) |
bool operator<( const directory_entry& rhs ) const noexcept; | (3) | (since C++17) (until C++20) |
bool operator<=( const directory_entry& rhs ) const noexcept; | (4) | (since C++17) (until C++20) |
bool operator>( const directory_entry& rhs ) const noexcept; | (5) | (since C++17) (until C++20) |
bool operator>=( const directory_entry& rhs ) const noexcept; | (6) | (since C++17) (until C++20) |
std::strong_ordering operator<=>( const directory_entry& rhs ) const noexcept; | (7) | (since C++20) |
Compares the path with the directory entry rhs.
| The | (since C++20) |
| rhs | - | directory_entry to compare |
true if path() == rhs.path(), false otherwise.true if path() != rhs.path(), false otherwise.true if path() < rhs.path(), false otherwise.true if path() <= rhs.path(), false otherwise.true if path() > rhs.path(), false otherwise.true if path() >= rhs.path(), false otherwise.path() <=> rhs.path().| returns the path the entry refers to (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/filesystem/directory_entry/operator_cmp