W3cubDocs

/C++

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

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

Returns the represented duration.

Return value

The represented duration.

Example

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