gcc/libstdc++-v3/include
Jonathan Wakely 87a9bfe86d libstdc++: Fix std::common_iterator triviality [PR100823]
This fixes the remaining problem reported in the PR, that the special
members should be trivial.  This can be done by constraining the
non-trivial versions and adding defaulted overloads that will be used
when the union members are trivial.

Making these members trivial alters the argument passing ABI and so
isn't suitable for backporting to release branches.

libstdc++-v3/ChangeLog:

	PR libstdc++/100823
	* include/bits/stl_iterator.h (common_iterator): Define
	destructor, copy constructor and move constructor as trivial
	when the underlying types allow.
	* testsuite/24_iterators/common_iterator/100823.cc: Check
	triviality of special members.
2022-07-20 23:38:48 +01:00
..
backward libstdc++: Improve doxygen docs for some of <memory> 2022-05-13 13:32:23 +01:00
bits libstdc++: Fix std::common_iterator triviality [PR100823] 2022-07-20 23:38:48 +01:00
c
c_compatibility libstdc++: Fix missing and incorrect feature test macros [PR105269] 2022-04-14 11:02:37 +01:00
c_global libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
c_std libstdc++: Declare std::c8rtomb and std::mbrtoc8 if provided by the C library 2022-01-18 16:31:02 +00:00
debug libstdc++: Complete __gnu_debug::string Standard conformity 2022-07-19 20:07:28 +02:00
decimal
experimental libstdc++: Add nodiscard attribute to filesystem operations 2022-07-01 11:50:18 +01:00
ext libstdc++: Apply r13-1096-g6abe341558abec change to vstring too [PR101482] 2022-06-16 20:20:39 +01:00
parallel
precompiled libstdc++: Add new headers to <bits/stdc++.h> PCH 2022-04-14 11:02:43 +01:00
pstl libstdc++: Reduce header dependencies from PSTL headers [PR92546] 2022-03-18 10:16:36 +00:00
std c++: Enable __has_builtin for new reference binding built-ins 2022-07-19 15:12:27 +01:00
tr1 libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
tr2
Makefile.am libstdc++: Add missing prerequisite to generated header [PR106162] 2022-07-01 22:42:55 +01:00
Makefile.in libstdc++: Add missing prerequisite to generated header [PR106162] 2022-07-01 22:42:55 +01:00