-?- Let locatable-as-tzptr
be true
if given an lvalue sv
of type string_view
, traits::locate_zone(sv)
is well-formed and TimeZonePtr
is implicitly convertible from its return type, and false
otherwise. Only the validity of the immediate context of the invocation and conversion is considered.
string_view
parameter name
, let converted-tzptr
be a variable of type TimeZonePtr
that is copy-initialized from traits::locate_zone(name)
. […]
explicit zoned_time(string_view name);
-7- Constraints:
-8- Effects: Initializestraits::locate_zone(string_view{})
is a well-formed expression andzoned_time
is constructible from the return type oftraits::locate_zone(string_view{})
locatable-as-tzptr
istrue
.zone_
withtraits::locate_zone(name)
and default constructstp_
.
[…]
zoned_time(string_view name, const sys_time<Duration>& st);
-13- Constraints:
-14- Effects: Equivalent to construction withzoned_time
is constructible from the return type oftraits::locate_zone(name)
andst
locatable-as-tzptr
istrue
.{ traits::locate_zone(name) std::move(converted-tzptr), st}
.
[…]
zoned_time(string_view name, const local_time<Duration>& tp);
-18- Constraints:
-19- Effects: Equivalent to construction withlocatable-as-tzptr
istrue
andzoned_time
is constructible from the return type oftraits::locate_zone(name)
TimeZonePtr
andtp
.{ traits::locate_zone(name) std::move(converted-tzptr), tp}
.
[…]
zoned_time(string_view name, const local_time<Duration>& tp, choose c);
-23- Constraints:
-24- Effects: Equivalent to construction withlocatable-as-tzptr
istrue
andzoned_time
is constructible from the return type oftraits::locate_zone(name)
TimeZonePtr
,local_time<Duration>
, andchoose
.{ traits::locate_zone(name) std::move(converted-tzptr), tp, c}
.
[…]
template<class Duration2, class TimeZonePtr2> zoned_time(string_view name, const zoned_time<Duration2, TimeZonePtr2>& y);
-32- Constraints:
-33- Effects: Equivalent to construction withlocatable-as-tzptr
istrue
andzoned_time
is constructible from the return type oftraits::locate_zone(name)
TimeZonePtr
and the typezoned_time<Duration2, TimeZonePtr2>
.{ traits::locate_zone(name) std::move(converted-tzptr), y}
.
template<class Duration2, class TimeZonePtr2> zoned_time(string_view name, const zoned_time<Duration2, TimeZonePtr2>& y, choose c);
-34- Constraints:
-35- Effects: Equivalent to construction withlocatable-as-tzptr
istrue
andzoned_time
is constructible from the return type oftraits::locate_zone(name)
TimeZonePtr
, the typezoned_time<Duration2, TimeZonePtr2>
, and the typechoose
.{ traits::locate_zone(name) std::move(converted-tzptr), y, c}
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4