gcc/libstdc++-v3/testsuite
Jonathan Wakely b696698767 libstdc++: Make string_view::copy usable in constant expressions (PR 94498)
PR libstdc++/94498
	* include/bits/char_traits.h (__gnu_cxx::char_traits::move): Make it
	usable in constant expressions for C++20.
	(__gnu_cxx::char_traits::copy, __gnu_cxx::char_traits::assign): Add
	_GLIBCXX20_CONSTEXPR.
	(std::char_traits<char>, std::char_traits<wchar_t>)
	(std::char_traits<char8_t>): Make move, copy and assign usable in
	constant expressions for C++20.
	(std::char_traits<char16_t>, std::char_traits<char32_t>): Make move
	and copy usable in constant expressions for C++20.
	* include/std/string_view (basic_string_view::copy): Add
	_GLIBCXX20_CONSTEXPR.
	* testsuite/21_strings/basic_string_view/operations/copy/char/
	constexpr.cc: New test.
	* testsuite/21_strings/basic_string_view/operations/copy/wchar_t/
	constexpr.cc: New test.
2020-04-06 18:30:53 +01:00
..
17_intro Skip charset.cc tests on *-*-hpux*. 2020-02-29 18:28:40 +00:00
18_support libstdc++: Optimize C++20 comparison category types 2020-02-07 14:09:03 +00:00
19_diagnostics libstdc++: Define operator<=> for <system_error> types 2020-02-20 12:27:48 +00:00
20_util libstdc++: Fix std::to_address for debug iterators (PR 93960) 2020-04-03 10:42:20 +01:00
21_strings libstdc++: Make string_view::copy usable in constant expressions (PR 94498) 2020-04-06 18:30:53 +01:00
22_locale
23_containers Library-side tests for parenthesized aggregate init 2020-03-31 17:07:52 +03:00
24_iterators libstdc++: Fix std::reverse_iterator relational operators 2020-03-28 21:52:13 +00:00
25_algorithms libstdc++: Fix incorrect use of memset in ranges::fill_n (PR 94017) 2020-03-03 22:46:39 -05:00
26_numerics libstdc++: Update the <numeric> synopsis test to latest standard 2020-02-28 15:08:14 -05:00
27_io libstdc++: Fix path::generic_string allocator handling (PR 94242) 2020-03-21 22:04:48 +00:00
28_regex
29_atomics libstdc++: Value-initialize std::atomic for C++20 (P0883R2) 2020-01-13 13:22:28 +00:00
30_threads libstdc++ Add missing tests for std::shared_timed_mutex 2020-03-25 22:16:22 +00:00
abi
backward
config
data
decimal
experimental libstdc++-v3/test: Better skip for "use_service.cc" 2020-04-02 11:53:58 +02:00
ext
lib libstdc++: Disable diagnostic URLs in testsuite 2020-02-27 20:26:20 +00:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
special_functions
std libstdc++: Define __cpp_lib_ranges macro for C++20 2020-03-27 23:26:03 +00:00
tr1 libstdc++: Fix test failure due to -Wnonnull warnings 2020-03-12 11:03:04 +00:00
tr2
util libstdc++: Define and use chrono::is_clock for C++20 2020-03-25 22:07:02 +00:00
Makefile.am
Makefile.in Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00