std::chrono::tai_clock(3cxx)
π NAME π
Okay bestie, welcome to the std::chrono::tai_clock page from the 3cxx manual β¨ This is the clock type that measures International Atomic Time, and it's lowkey iconic π
β¨ SYNOPSIS β¨
#include <chrono>
π Public Types π
These are the public type aliases, copied exactly so you can trust them, no cap:
using duration = chrono::duration< rep, period >
using period = system_clock::period
using rep = system_clock::rep
using time_point = chrono::time_point< tai_clock >
Love that for us π«Ά
π₯ Static Public Member Functions π₯
The static public member functions are right here, bestie β signatures exactly as listed:
template<typename _Duration > static tai_time< common_type_t< _Duration,
seconds > > from_utc (const utc_time< _Duration > &__t)
static time_point now ()
template<typename _Duration > static utc_time< common_type_t< _Duration,
seconds > > to_utc (const tai_time< _Duration > &__t)
That's the whole function squad π
π Static Public Attributes π
There's one static public attribute listed, and it's this:
static constexpr bool is_steady
Just the one, periodt π
πΈ Detailed Description πΈ
A clock that measures International Atomic Time. The epoch is 1958-01-01 00:00:00.
Since: C++20 β¨
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. So the author credit is Doxygen doing its autogenerated thing, iykyk π«Ά
Cute sign-off time, bestie: this page is from libstdc++ and the 3cxx manual, with the page tag std::chrono::tai_clock(3cxx). The footer doesn't list a date, just those source/version vibes ππ
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms