typedef duration < /*see rep below*/, ratio<3600,1> > hours; |
成员类型 | 定义 | 说明 |
rep | 至少23位的有符号整型 | 用作内部计数器对象的类型。 |
period | ratio<3600,1> | 与秒的比值为3600:1 |
duration | 持续时间(类模板) |
minutes | 时间单位为分钟的持续时间(类) |
seconds | 时间单位为秒的持续时间(类) |
milliseconds | 时间单位为毫秒的持续时间(类) |
microseconds | 时间单位为微秒的持续时间(类) |
nanoseconds | 时间单位为纳秒的持续时间(类) |