std::chrono...zoned_time)(3)
π 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
- 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