std::chrono..._list::front(3)

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

πŸ¦‹ std::chrono::tzdb_list::front πŸ¦‹

okay so bestie, this is the C++ Standard Libary manual page for std::chrono::tzdb_list::front β€” and yes, we are absolutely getting into the first-tzdb-in-the-list of it all. iconic behavior, honestly. ✨


πŸŽ€ NAME πŸŽ€

  • std::chrono::tzdb_list::front β€” std::chrono::tzdb_list::front (that's the name, periodt πŸ’…)

✨ Synopsis ✨

const std::chrono::tzdb& front() const noexcept;  (since C++20)

It obtains a reference to the first std::chrono::tzdb in the list. That's the whole vibe: you call front(), you get a reference to the first std::chrono::tzdb in the list. no cap 🫢

Also, Simultaneous calls to this function and std::chrono::reload_tzdb() does not introduce a data race. like, that's the lore, and we are keeping it. 😭

πŸ’– Return value πŸ’–

  • A reference to the first std::chrono::tzdb in the list. literally that. πŸ’–

signed off with sparkles from http://cppreference.com, dated 2024.06.10, on the std::chrono..._list::front(3) page β€” mwah πŸ’‹

πŸ“¦ where this page comes from