std::chrono...:time_zone)(3)
π NAME π
okay so bestie, this page is from the C++ Standard Libary manual β yes, that's the manual name, spelling and all π
β and it's all about std::chrono::operator==,(std::chrono::time_zone). The NAME line is literally the same iconic title again: std::chrono::operator==,(std::chrono::time_zone). No cap, that comma is staying.
β¨ Synopsis β¨
Defined in header <chrono> β exact, keep it.
Both overloads are since C++20:
Overload (1) β the equality one:
bool operator==( const std::chrono::time_zone& x, const std::chrono::time_zone& y ) noexcept;
Overload (2) β the spaceship one:
std::strong_ordering operator<=>( const std::chrono::time_zone& x, const std::chrono::time_zone& y ) noexcept;
It compares the two time_zone values x and y by name. That's the vibe check: names only, periodt.
The <, <=, >, >=, and != operators are synthesized from operator<=> and operator== respectively. Slay, synthesized operators.
π Return value π
x.name() == y.name()x.name() <=> y.name()
π that's the whole page, bestie β source/version: http://cppreference.com Β· date: 2024.06.10 Β· footer tag: std::chrono...:time_zone)(3) β mwah π
β¨
π¦ 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