std::experi...tor==,!=,,>=(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’… 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_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.

πŸ’€ 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