std::experi...tor==,!=,,>=(3)
π
std::experi...tor==,!=,,>=(3) π
okay bestie, welcome to the C++ Standard Libary manual β yes, the header spells it βLibaryβ and we are keeping the lore. This page is all about the std::experimental::filesystem::directory_entry comparison operators, and it is filesystem TS to the core. β¨
β¨ NAME β¨
std::experimental::filesystem::directory_entry::operator==,!=,,>= β that is the NAME line, and the source lists it twice. We are not gonna fight it; we are just gonna compare some directory entries. π
πΈ Synopsis πΈ
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)
Compares the path with the directory entry rhs. π¦
π Parameters π
rhsβdirectory_entryto compare. π«Ά
π Return value π
trueifpath() == rhs.path(),falseotherwise.trueifpath() != rhs.path(),falseotherwise.trueifpath() < rhs.path(),falseotherwise.trueifpath() <= rhs.path(),falseotherwise.trueifpath() > rhs.path(),falseotherwise.trueifpath() >= rhs.path(),falseotherwise.
π Exceptions π
noexcept specification: noexcept
No cap, that is the whole mood. πβ¨
π See also π
pathβ returns the path the entry refers to.operator const path&(public member function)
π Categories π
- Noindexed pages
- unconditionally noexcept
π Hidden categories π
- Pages with unreviewed unconditional noexcept template
- Pages with unreviewed noexcept template
source: http://cppreference.com Β· version/date: 2024.06.10 Β· page: std::experi...tor==,!=,,>=(3) β mwah bestie ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms