std::chrono...me::get_info(3)

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

🌸 NAME 🌸

std::chrono::zoned_time::get_info β€” literally std::chrono::zoned_time::get_info, bestie. That’s the whole name, no cap. This page is from the C++ Standard Libary manual, and it’s the std::chrono::zoned_time::get_info(3) one πŸ’….


✨ Synopsis ✨

Okay so here’s the signature, and yes you’re gonna wanna copy it exactly:

std::chrono::sys_info get_info() const;  (since C++20)

It obtains the std::chrono::sys_info containing information about the time zone at the time point stored in *this. That’s the vibe πŸ¦‹.


πŸ’– Return value πŸ’–

It gives you back zone->get_info(tp), where zone is the non-static data member holding the time zone pointer, and tp is the non-static data member holding the stored time point (as a std::chrono::sys_time<duration>). Iconic, honestly ✨.


No cap: those data members and that exact expression are the whole return-value situation. Keep them exactly as written 🫢.

Okay bye bestie, this one’s from http://cppreference.com, dated 2024.06.10 β€” mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from