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