gcc/libstdc++-v3/include
Jonathan Wakely 7b527614dd libstdc++: Move COW string definitions to separate header
This moves the definitions of the COW string to a separate file, so that
they don't need to be preprocessed for the common case. We could also
move the SSO string definitions to a new file, so that they don't need
to be preprocessed for the old ABI case, but that would require more
shovel work because there are some parts of <bits/basic_string.h> and
<bits/basic_string.tcc> that are common to both definitions.

libstdc++-v3/ChangeLog:

	* include/Makefile.am: Add new header.
	* include/Makefile.in: Regenerate.
	* include/bits/basic_string.h [!_GLIBCXX_USE_CXX11_ABI]
	(basic_string): Move definition of Copy-on-Write string to
	new file.
	* include/bits/basic_string.tcc: Likewise.
	* include/bits/cow_string.h: New file.
2021-07-27 12:04:18 +01:00
..
backward
bits libstdc++: Move COW string definitions to separate header 2021-07-27 12:04:18 +01:00
c
c_compatibility
c_global
c_std
debug libstdc++: Remove unnecessary uses of <utility> 2021-07-27 12:04:18 +01:00
decimal
experimental libstdc++: Remove unnecessary uses of <utility> 2021-07-27 12:04:18 +01:00
ext libstdc++: Use __builtin_operator_new when available [PR94295] 2021-07-22 14:38:34 +01:00
parallel
precompiled
pstl
std libstdc++: Remove unnecessary uses of <utility> 2021-07-27 12:04:18 +01:00
tr1
tr2
Makefile.am libstdc++: Move COW string definitions to separate header 2021-07-27 12:04:18 +01:00
Makefile.in libstdc++: Move COW string definitions to separate header 2021-07-27 12:04:18 +01:00