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. |