gcc/libstdc++-v3/testsuite
Jonathan Wakely fcc13d6fc3 libstdc++: Implement ostream insertion for chrono::duration
This is a missing piece of the C++20 <chrono> header.

It would be good to move the code into the compiled library, so that we
don't need <sstream> in <chrono>. It could also use spanstream in C++20,
to avoid memory allocations. That can be changed at a later date.

libstdc++-v3/ChangeLog:

	* include/std/chrono (__detail::__units_suffix_misc): New
	helper function.
	(__detail::__units_suffix): Likewise.
	(chrono::operator<<(basic_ostream&, const duration&)): Define.
	* testsuite/20_util/duration/io.cc: New test.
2021-10-08 12:19:19 +01:00
..
17_intro
18_support
19_diagnostics libstdc++: Avoid unconditional use of errc::not_supported [PR 99327] 2021-10-01 20:34:50 +01:00
20_util libstdc++: Implement ostream insertion for chrono::duration 2021-10-08 12:19:19 +01:00
21_strings libstdc++: Ensure std::span and std::string_view are trivially copyable (P2251R1) 2021-10-05 16:47:30 +01:00
22_locale
23_containers libstdc++: Ensure std::span and std::string_view are trivially copyable (P2251R1) 2021-10-05 16:47:30 +01:00
24_iterators libstdc++: Implement LWG 3392 for std::ranges::distance 2021-10-01 20:36:54 +01:00
25_algorithms libstdc++: Add missing header to test 2021-10-01 15:04:02 +01:00
26_numerics libstdc++: Rename tests with incorrect extension 2021-09-17 12:40:41 +01:00
27_io libstdc++: Improve test for printing volatile pointers 2021-10-05 15:56:55 +01:00
28_regex libstdc++: Implement std::regex_constants::multiline (LWG 2503) 2021-09-29 13:48:19 +01:00
29_atomics libstdc++: Fix UB in atomic_ref/wait_notify.cc [PR101761] 2021-09-16 14:48:17 -07:00
30_threads libstdc++: Make std::jthread support pointers to member functions [PR 100612] 2021-10-01 20:36:55 +01:00
abi
backward
config
data
decimal
experimental libstdc++: Use "test.invalid." for invalid hostname 2021-09-10 15:10:21 +01:00
ext libstdc++: Remove useless base classes in pb_db tests 2021-10-01 20:36:54 +01:00
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
special_functions
std
tr1
tr2
util libstdc++: Fix last std::tuple constructor missing 'constexpr' [PR102270] 2021-09-17 20:43:34 +01:00
Makefile.am
Makefile.in