W3cubDocs

/C++

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

constexpr explicit operator precision() const noexcept;
(1)
constexpr precision to_duration() const noexcept;
(2)

Returns the stored duration.

Return value

The stored duration.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/chrono/time_of_day/duration