Constructors of std::chrono::time_zone might be overly unspecified
Jiang An

Created on 2022-02-23.00:00:00 last changed 2 months ago


Date: 2022-03-15.00:00:00

[ 2022-03-04; Reflector poll ]

Set priority to 4 after reflector poll.

Date: 2022-02-23.00:00:00

In [time.zone.overview], only defaulted move constructor and move assignment operator for std::chrono::time_zone are shown, other constructors are said to be "unspecified additional constructors". Presumably the intent is that the default constructor is not declared (suppressed) and the copy constructor is implicitly deleted, but it is not clear if they are not "unspecified additional constructors" and hence implicitly specified.

On the other hand, the defaulted definitions of move functions bring almost no specification, as no exposition only member is shown. So it is unspecified whether these functions are deleted, trivial, constexpr, or noexcept. Perhaps we want these functions to be non-deleted and noexcept, while triviality and constexpr-ness should be left unspecified.

Date User Action Args
2022-03-04 14:33:52adminsetmessages: + msg12401
2022-02-23 00:00:00admincreate