template <class Clock, class Duration = typename Clock::duration> class time_point;
成员类型 | 定义 | 说明 |
---|---|---|
clock | 第一个模板参数 (Clock) | The clock class (either system_clock, steady_clock, high_resolution_clock or a custom clock class). |
duration | 第二个模板参数 (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. |