c++日期chrono

时间精度ratio 描述一段时间,咱们能够用时分秒,日月年等等。因此要有一个精度来表示一段时间。 定义以下:ios template<intmax_t _Nx,intmax_t _Dx = 1> struct ratio { // holds the ratio of _Nx to _Dx static constexpr intmax_t num = _Sign_o
相关文章
相关标签/搜索