gcc/libstdc++-v3
Jonathan Wakely 3e8ee03edd libstdc++: Do not require a time-of-day when parsing sys_days [PR114240]
When parsing a std::chrono::sys_days (or a sys_time with an even longer
period) we should not require a time-of-day to be present in the input,
because we can't represent that in the result type anyway.

Rather than trying to decide which specializations should require a
time-of-date and which should not, follow the direction of Howard
Hinnant's date library, which allows extracting a sys_time of any period
from input that only contains a date, defaulting the time-of-day part to
00:00:00. This seems consistent with the intent of the standard, which
says it's an error "If the parse fails to decode a valid date" (i.e., it
doesn't care about decoding a valid time, only a date).

libstdc++-v3/ChangeLog:

	PR libstdc++/114240
	* include/bits/chrono_io.h (_Parser::operator()): Assume
	hours(0) for a time_point, so that a time is not required
	to be present.
	* testsuite/std/time/parse/114240.cc: New test.
2024-03-09 00:21:42 +00:00
..
config Update copyright years. 2024-01-03 12:19:35 +01:00
doc libstdc++: Change some URLs in the manual to use https 2024-02-28 14:37:12 +00:00
include libstdc++: Do not require a time-of-day when parsing sys_days [PR114240] 2024-03-09 00:21:42 +00:00
libsupc++ libstdc++, Darwin: Handle a linker warning [PR112397]. 2024-02-19 20:14:34 +00:00
po Update copyright years. 2024-01-03 12:19:35 +01:00
python libstdc++: Implement C++26 std::text_encoding (P1885R12) [PR113318] 2024-01-17 11:49:11 +00:00
scripts libstdc++: Add copyright and license text to new generated headers 2024-02-04 21:40:23 +00:00
src libstdc++: Do not define lock-free atomic aliases if not fully lock-free [PR114103] 2024-03-07 20:55:25 +00:00
testsuite libstdc++: Do not require a time-of-day when parsing sys_days [PR114240] 2024-03-09 00:21:42 +00:00
ChangeLog Daily bump. 2024-03-08 00:17:33 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-2021
ChangeLog-2022
ChangeLog-2023 Rotate ChangeLog files. 2024-01-03 11:29:39 +01:00
Makefile.am Update copyright years. 2024-01-03 12:19:35 +01:00
Makefile.in Allow overriding EXPECT 2023-12-22 10:24:56 +00:00
README
acinclude.m4 libstdc++: Enable std::text_encoding for darwin and FreeBSD 2024-01-31 09:42:39 +00:00
aclocal.m4
config.h.in libstdc++: Implement C++26 std::text_encoding (P1885R12) [PR113318] 2024-01-17 11:49:11 +00:00
configure libstdc++, Darwin: Handle a linker warning [PR112397]. 2024-02-19 20:14:34 +00:00
configure.ac libstdc++, Darwin: Handle a linker warning [PR112397]. 2024-02-19 20:14:34 +00:00
configure.host LoongArch: Adjust C++ multilib header layout. 2023-09-08 17:51:06 +08:00
crossconfig.m4
fragment.am
linkage.m4 libstdc++: Remove handling for underscore-prefixed libm functions [PR111638] 2023-11-11 00:41:08 +00:00

README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.