Deduction guides for
std::chrono::zoned_time
|
|
Time point | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Duration | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Clocks | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Time of day | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Calendar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Time zone | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
chrono
I/O
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(C++20)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
C-style date and time |
Member functions | ||||
Nonmember functions | ||||
Helper classes | ||||
(C++26)
|
||||
Deduction guides |
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) |
template
<
class
TimeZonePtrOrName
>
zoned_time ( TimeZonePtrOrName && ) - > zoned_time < std:: chrono :: seconds , /* see below */ > ; |
(3) | (since C++20) |
template
<
class
TimeZonePtrOrName,
class
Duration
>
zoned_time
(
TimeZonePtrOrName
&&
,
std::
chrono
::
sys_time
<
Duration
>
)
|
(4) | (since C++20) |
template
<
class
TimeZonePtrOrName,
class
Duration
>
zoned_time
(
TimeZonePtrOrName
&&
,
std::
chrono
::
local_time
<
Duration
>
,
|
(5) | (since C++20) |
template
<
class
TimeZonePtrOrName,
class
Duration,
class
TimeZonePtr2
>
zoned_time
(
TimeZonePtrOrName
&&
,
std::
chrono
::
zoned_time
<
Duration, TimeZonePtr2
>
,
|
(6) | (since C++20) |
These deduction guides normalize
Duration
to a minimum resolution of
std::chrono::seconds
, and provide correct handling for time zone names specified using types convertible to
std::
string_view
.