gcc/libstdc++-v3
Jonathan Wakely 8ae50799cd libstdc++: Simplify some chrono formatters
I don't remember exactly why I made these bits of code reserve space in
a COW string and append to it, rather than just use the string returned
from std::format (which will undergo copy elision). The _Str_sink type
used by std::format means the string only performs a single allocation
for the formatted output, and the returned string's reference count will
be one, so won't reallocate when indexing into it. We can remove these
non-optimizations.

libstdc++-v3/ChangeLog:

	* include/bits/chrono_io.h (__formatter_chrono::_M_F): Simplify
	handling of string returned from std::format.
	(__formatter_chrono::_M_R_T): Likewise.
2024-01-09 17:20:29 +00:00
..
config
doc
include libstdc++: Simplify some chrono formatters 2024-01-09 17:20:29 +00:00
libsupc++ libstdc++: Avoid conflicting declaration in eh_call.cc [PR112997] 2024-01-07 00:58:46 +00:00
po
python
scripts
src libstdc++: Add Unicode-aware width estimation for std::format 2024-01-08 01:14:50 +00:00
testsuite libstdc++: Remove std::__unicode::__null_sentinel 2024-01-08 16:04:59 +00:00
acinclude.m4
aclocal.m4
ChangeLog Daily bump. 2024-01-09 00:17:50 +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
config.h.in
configure
configure.ac
configure.host
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
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.