class
std::chrono::gps_clock
- Header
<chrono>- Draft
- [clock.gps.overview]
- Scope
std::chrono- cppreference
- std::chrono::gps_clock
Synopsis
class gps_clock;Member types
| Name | Declaration |
|---|---|
durationtype alias · member type | = chrono::duration<rep, period> |
periodtype alias · member type | = nano |
reptype alias · member type | = long long |
time_pointtype alias · member type | = chrono::time_point<gps_clock> |
Static member functions
| Name | Declaration |
|---|---|
from_utcstatic member function template | gps_time<common_type_t<Duration, seconds>> from_utc(const utc_time<Duration>& t) |
nowstatic member function | gps_clock::time_point now() |
to_utcstatic member function template | utc_time<common_type_t<Duration, seconds>> to_utc(const gps_time<Duration>& t) |
Static data members
| Name | Declaration |
|---|---|
is_steadystatic data member | bool |