std::chrono...me_zone_link(3)
πΈ NAME πΈ
hey bestie, welcome to the C++ Standard Libary manual page for std::chrono::time_zone_link β and yes, the name is literally std::chrono::time_zone_link again. It's giving "I contain multitudes," but make it a chrono type. π
β¨ Synopsis β¨
Defined in header <chrono>, bestie:
class time_zone_link; (since C++20)
okay so time_zone_link represents an alternative name for a time zone. That's the whole vibe: it's a nickname for a zone. π¦
Users cannot construct time_zone_link objects. Nope β the library implementation creates time_zone_link objects when it initializes the time zone database, and it provides const access to these objects. So you get to look, not touch. π
time_zone_link is not copyable, but it does have a defaulted move constructor and a defaulted move assignment operator. However β and this is the important part, bestie β as users have only const access to time_zone_link objects, these functions cannot be called in user code without invoking undefined behavior.
π¨ Undefined behavior is not a slay. Do not call those move functions in your own code. Periodt.
π§ Member functions π§
nameβ accesses the name and target of thistime_zone_link.targetβ public member function.
π Nonmember functions π
operator==β compares twotime_zone_linkobjects.operator<=>β function, since C++20.
xoxo, bestie π this page came from http://cppreference.com, dated 2024.06.10, and it's the std::chrono...me_zone_link(3) manual page. 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