gcc/libstdc++-v3/testsuite
Jonathan Wakely da8ddcec0c Define [range.cmp] comparisons for C++20
Define std::identity, std::ranges::equal_to, std::ranges::not_equal_to,
std::ranges::greater, std::ranges::less, std::ranges::greater_equal and
std::ranges::less_equal.

	* include/Makefile.am: Add new header.
	* include/Makefile.in: Regenerate.
	* include/bits/range_cmp.h: New header for C++20 function objects.
	* include/std/functional: Include new header.
	* testsuite/20_util/function_objects/identity/1.cc: New test.
	* testsuite/20_util/function_objects/range.cmp/equal_to.cc: New test.
	* testsuite/20_util/function_objects/range.cmp/greater.cc: New test.
	* testsuite/20_util/function_objects/range.cmp/greater_equal.cc: New
	test.
	* testsuite/20_util/function_objects/range.cmp/less.cc: New test.
	* testsuite/20_util/function_objects/range.cmp/less_equal.cc: New test.
	* testsuite/20_util/function_objects/range.cmp/not_equal_to.cc: New
	test.

From-SVN: r277120
2019-10-17 16:40:00 +01:00
..
17_intro Add <span> to <bits/stdc++.h> precompiled header 2019-10-04 13:16:56 +01:00
18_support
19_diagnostics
20_util Define [range.cmp] comparisons for C++20 2019-10-17 16:40:00 +01:00
21_strings
22_locale
23_containers PR libstdc++/92124 fix incorrect container move assignment 2019-10-17 15:21:27 +01:00
24_iterators Define std::ssize for C++20 (P1227R2) 2019-09-06 13:54:51 +01:00
25_algorithms Add std::copy_n istreambuf_iterator specialization 2019-10-06 15:29:04 +00:00
26_numerics
27_io PR libstdc++/91067 add more missing exports for directory iterators 2019-08-29 13:16:27 +01:00
28_regex Implement LWG 3296 for basic_regex::assign 2019-09-25 13:31:53 +01:00
29_atomics
30_threads Add user-defined clock to libstdc++ condition_variable tests 2019-09-04 23:43:20 +01:00
abi
backward
config
data
decimal
experimental
ext libstdc++ testsuite, silence a FreeBSD libm warning 2019-09-30 22:23:02 +02:00
lib
libstdc++-abi
libstdc++-dg Implement <concepts> header for C++20 2019-10-11 16:53:52 +01:00
libstdc++-prettyprinters
libstdc++-xmethods
performance
special_functions libstdc++ testsuite, silence a FreeBSD libm warning 2019-09-30 22:23:02 +02:00
std/concepts Implement <concepts> header for C++20 2019-10-11 16:53:52 +01:00
tr1 libstdc++ testsuite, silence a FreeBSD libm warning 2019-09-30 22:23:02 +02:00
tr2 PR libstdc++/92059 fix several bugs in tr2::dynamic_bitset 2019-10-11 16:29:55 +01:00
util Replace uses of std::tr1::unordered_map in testsuite 2019-10-04 16:08:14 +01:00
Makefile.am
Makefile.in