std::chrono::time_of_day::operator precision, std::chrono::time_of_day::to_duration

From cppreference.com
< cpp‎ | chrono‎ | time of day
 
 
 
Date and time utilities
(C++11)
(C++11)
Clocks
(C++20)
                                                  
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Calendars
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Time zones
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
C-style date and time
 
 
constexpr explicit operator precision() const noexcept;
(1)
constexpr precision to_duration() const noexcept;
(2)

Returns the stored duration.

Return value

The stored duration.