This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of WP status.
Section: 22.214.171.124 [time.zone.zonedtime.ctor] Status: WP Submitter: Tomasz Kamiński Opened: 2019-06-20 Last modified: 2019-11-19
View all other issues in [time.zone.zonedtime.ctor].
View all issues with WP status.
zoned_time constructor from
TimeZonePtr> (preserving same time zone, different precision of
representation) is currently marked noexcept. Given that the exposition-only
member tp_ of type sys_time<duration> has essentially type
time_point<system_clock, Duration>, this is incompatible with the
time_point constructor, which is not marked as noexcept.
[2019-07 Issue Prioritization]
Status to Tentatively Ready after five positive votes on the reflector.
This wording is relative to N4820.
Modify 126.96.36.199 [time.zone.zonedtime.overview], class template zoned_time synopsis, as indicated:
template<class Duration2> zoned_time(const zoned_time<Duration2, TimeZonePtr>& zt)
Modify 188.8.131.52 [time.zone.zonedtime.ctor] as indicated:
template<class Duration2> zoned_time(const zoned_time<Duration2, TimeZonePtr>& y)
-9- Requires: Does not participate in overload resolution unless sys_time<Duration2> is implicitly convertible to sys_time<Duration>.-10- Effects: Constructs a zoned_time by initializing zone_ with y.zone_ and tp_ with y.tp_.