template <class Clock, class Duration = typename Clock::duration> class time_point;
member type | definition | notes |
---|---|---|
clock | The first template parameter (Clock) | The clock class (either system_clock, steady_clock, high_resolution_clock or a custom clock class). |
duration | The second template parameter (Duration) | The duration type used to represent the time point. |
rep | duration::rep | Type returned by duration::count. |
period | duration::period | The ratio type that represents the length of a period in seconds. |