gcc/libstdc++-v3/testsuite
Jonathan Wakely 7a42b1fa1a libstdc++: Simplify constraints for std::any construction [PR104242]
Partially revert r12-4190-g6da36b7d0e43b6f9281c65c19a025d4888a25b2d
because using __and_<..., is_copy_constructible<T>> when T is incomplete
results in an error about deriving from is_copy_constructible<T> when
that is incomplete. I don't know how to fix that, so this simply
restores the previous constraint which worked in this case (even though
I think it's technically undefined to use is_copy_constructible<T> with
incomplete T). This doesn't restore exactly what we had before, but uses
the is_copy_constructible_v and __is_in_place_type_v variable templates
instead of the ::value member.

libstdc++-v3/ChangeLog:

	PR libstdc++/104242
	* include/std/any (any(T&&)): Revert change to constraints.
	* testsuite/20_util/any/cons/104242.cc: New test.
2022-03-18 15:40:03 +00:00
..
17_intro libstdc++: Fix test failure on AIX 2022-03-03 22:25:44 +00:00
18_support libstdc++: Implement std::strong_order for floating-point types [PR96526] 2022-03-03 22:24:45 +00:00
19_diagnostics Update copyright years. 2022-01-03 10:42:10 +01:00
20_util libstdc++: Simplify constraints for std::any construction [PR104242] 2022-03-18 15:40:03 +00:00
21_strings libstdc++: Limit new basic_string(nullptr_t) constructor to C++23 [PR104099] 2022-01-18 20:41:46 +00:00
22_locale libstdc++: Fix 22_locale/numpunct/members/char/3.cc execution test 2022-01-14 16:21:57 +01:00
23_containers libstdc++: Deprecate non-standard std::vector<bool>::insert(pos) [PR104559] 2022-02-17 23:44:25 +00:00
24_iterators libstdc++: Avoid overflow in ranges::advance(i, n, bound) 2022-01-27 22:24:29 +00:00
25_algorithms libstdc++: Reduce header dependencies from PSTL headers [PR92546] 2022-03-18 10:16:36 +00:00
26_numerics Update copyright years. 2022-01-03 10:42:10 +01:00
27_io libstdc++: Do not use dirent::d_type unconditionally 2022-02-02 00:01:43 +00:00
28_regex libstdc++: Add dg-timeout-factor to some more regex tests 2022-01-10 12:18:14 +00:00
29_atomics libstdc++: Fix test failures at -O0 2022-02-11 21:41:43 +00:00
30_threads Update copyright years. 2022-01-03 10:42:10 +01:00
abi Update copyright years. 2022-01-03 10:42:10 +01:00
backward Update copyright years. 2022-01-03 10:42:10 +01:00
config Update copyright years. 2022-01-03 10:42:10 +01:00
data
decimal Update copyright years. 2022-01-03 10:42:10 +01:00
experimental libstdc++: Adjust Filesystem TS test for Windows 2022-02-08 13:31:09 +00:00
ext libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
lib libstdc++: Define <stacktrace> header for C++23 2022-01-17 12:13:02 +00:00
libstdc++-abi Update copyright years. 2022-01-03 10:42:10 +01:00
libstdc++-dg Update copyright years. 2022-01-03 10:42:10 +01:00
libstdc++-prettyprinters libstdc++: Make std::error_code printer more robust 2022-02-17 22:22:14 +00:00
libstdc++-xmethods Update copyright years. 2022-01-03 10:42:10 +01:00
performance libstdc++: Optimize operations on small size hashtable [PR 68303] 2022-01-05 21:46:52 +01:00
special_functions Update copyright years. 2022-01-03 10:42:10 +01:00
std libstdc++: Reduce header dependencies from PSTL headers [PR92546] 2022-03-18 10:16:36 +00:00
tr1 libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
tr2 Update copyright years. 2022-01-03 10:42:10 +01:00
util libstdc++: Fix comment in testsuite utility 2022-03-17 12:23:56 +00:00
Makefile.am Update copyright years. 2022-01-03 10:42:10 +01:00
Makefile.in libstdc++: Define <stacktrace> header for C++23 2022-01-17 12:13:02 +00:00