std::chrono::time_of_day<Duration>::operator precision, std::chrono::time_of_day<Duration>::to_duration

来自cppreference.com
< cpp‎ | chrono‎ | time of day
 
 
 
日期和时间工具
(C++11)
(C++11)
时钟
(C++20)
                                                  
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
日历
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
时区
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
C 风格日期和时间
 
 
constexpr explicit operator precision() const noexcept;
(1)
constexpr precision to_duration() const noexcept;
(2)

返回存储的时长。

返回值

存储的时长。