FreeBSD Manual Pages
Deductiongu...::zoned_time(3) C++ Standard LibaryDeductiongu...::zoned_time(3) NAME Deductionguidesforstd::chrono::zoned_time - Deductionguides- forstd::chrono::zoned_time Synopsis zoned_time() -> zoned_time<std::chrono::seconds>; (1) (since C++20) template< class Duration > zoned_time(std::chrono::sys_time<Duration>) (2) (since C++20) -> zoned_time<std::common_type_t<Duration, std::chrono::seconds>>; template< class TimeZonePtrOrName > zoned_time(TimeZonePtrOrName&&) -> (3) (since C++20) zoned_time<std::chrono::seconds, /* see below */>; template< class TimeZonePtrOrName, class Duration > zoned_time(TimeZonePtrOrName&&, std::chrono::sys_time<Duration>) (4) (since C++20) -> zoned_time<std::common_type_t<Duration, std::chrono::seconds>, /* see below */>; template< class TimeZonePtrOrName, class Duration > zoned_time(TimeZonePtrOrName&&, std::chrono::local_time<Duration>, std::chrono::choose = std::chrono::choose::earliest) (5) (since C++20) -> zoned_time<std::common_type_t<Duration, std::chrono::seconds>, /* see below */>; template< class TimeZonePtrOrName, class Duration, class TimeZonePtr2 > zoned_time(TimeZonePtrOrName&&, std::chrono::zoned_time<Duration, TimeZonePtr2>, (6) (since C++20) std::chrono::choose = std::chrono::choose::earliest) -> zoned_time<std::common_type_t<Duration, std::chrono::seconds>, /* see below */>; Six deduction guides are provided for zoned_time. They normalize Du- ration to a minimum resolution of std::chrono::seconds, and provide correct han- dling for time zone names specified using types convertible to std::string_view. 3-6) If std::is_convertible_v<TimeZonePtrOrName, std::string_view> is true, the deduced second template argument is const std::chrono::time_zone*. Otherwise it is std::remove_cvref_t<TimeZonePtrOrName>. http://cppreference.com 2022.07.31 Deductiongu...::zoned_time(3)
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=Deductionguidesforstd::chrono::zoned_time&sektion=3&manpath=FreeBSD+Ports+15.0>
