Title
zoned_time constructor from TimeZonePtr does not specify initialization of tp_
Status
c++20
Section
[time.zone.zonedtime.ctor]
Submitter
Tomasz Kamiński

Created on 2019-06-20.00:00:00 last changed 44 months ago

Messages

Date: 2019-07-23.15:26:26

Proposed resolution:

This wording is relative to N4820.

  1. Modify [time.zone.zonedtime.ctor] as indicated:

    explicit zoned_time(TimeZonePtr z);
    

    -5- Requires: z refers to a time zone.

    -6- Effects: Constructs a zoned_time by initializing zone_ with std::move(z) and default constructing tp_.

Date: 2019-08-23.18:06:54

[ 2019-07 Issue Prioritization ]

Status to Tentatively Ready after five positive votes on the reflector.

Date: 2019-06-20.00:00:00

The zoned_time(TimeZonePtr z) does not specify how the tp_ sub-element is initialized. It should be consistent with zoned_time(string_view) that default initializes tp_.

History
Date User Action Args
2021-02-25 10:48:01adminsetstatus: wp -> c++20
2019-11-19 14:48:30adminsetstatus: voting -> wp
2019-10-07 02:48:00adminsetstatus: ready -> voting
2019-07-23 15:26:26adminsetmessages: + msg10506
2019-07-23 15:26:26adminsetstatus: new -> ready
2019-06-23 12:04:22adminsetmessages: + msg10459
2019-06-20 00:00:00admincreate