std::chrono...zoned_time)(3)

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

πŸŽ€ NAME

Bestie, this page is std::chrono::operator==(std::chrono::zoned_time) β€” and yes, the name section literally gives it again: std::chrono::operator==(std::chrono::zoned_time). It’s from the C++ Standard Libary manual, page std::chrono...zoned_time)(3). πŸ’…

✨ Synopsis

Defined in header <chrono> 🫢

          template< class Duration1, class Duration2, class TimeZonePtr >

          bool operator==( const std::chrono::zoned_time<Duration1,
          TimeZonePtr>& x,
       (since C++20)

                           const std::chrono::zoned_time<Duration2,
          TimeZonePtr>& y );

Okay so this is the equality comparison for the two zoned_time values x and y. Two zoned_time objects compare equal if their time points and time zone pointers both compare equal according to operator==. The != operator is synthesized from operator== β€” periodt. ✨

🎁 Return value

It returns:

x.get_time_zone() == y.get_time_zone() && x.get_sys_time() == y.get_sys_time(),

except that the comparisons are performed on the nonstatic data members of x and y directly and no copying is performed. No cap, that’s the whole return-value vibe. 🌸


That’s the page, bestie! πŸ’– Source is http://cppreference.com, date is 2024.06.10, and the footer page is std::chrono...zoned_time)(3). Slay. πŸ¦‹

πŸ“¦ where this page comes from