Provided by: libstdc++-13-doc_13-20230320-1ubuntu1_all
NAME
std::chrono::tai_clock
SYNOPSIS
Public Types using duration = chrono::duration< rep, period > using period = system_clock::period using rep = system_clock::rep using time_point = chrono::time_point< tai_clock > Static Public Member Functions 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) Static Public Attributes static constexpr bool is_steady
Detailed Description
A clock that measures International Atomic Time. The epoch is 1958-01-01 00:00:00. Since C++20 Definition at line 166 of file chrono.
Member Typedef Documentation
using std::chrono::tai_clock::duration = chrono::duration<rep, period> Definition at line 171 of file chrono. using std::chrono::tai_clock::period = system_clock::period Definition at line 170 of file chrono. using std::chrono::tai_clock::rep = system_clock::rep Definition at line 169 of file chrono. using std::chrono::tai_clock::time_point = chrono::time_point<tai_clock> Definition at line 172 of file chrono.
Member Function Documentation
template<typename _Duration > static tai_time< common_type_t< _Duration, seconds > > std::chrono::tai_clock::from_utc (const utc_time< _Duration > & __t) [inline], [static] Definition at line 193 of file chrono. static time_point std::chrono::tai_clock::now () [inline], [static] Definition at line 178 of file chrono. template<typename _Duration > static utc_time< common_type_t< _Duration, seconds > > std::chrono::tai_clock::to_utc (const tai_time< _Duration > & __t) [inline], [static] Definition at line 184 of file chrono.
Member Data Documentation
constexpr bool std::chrono::tai_clock::is_steady [static], [constexpr] Definition at line 173 of file chrono.
Author
Generated automatically by Doxygen for libstdc++ from the source code.