Tomasz Kamiński
8efbea7eee
libstdc++: Disallow duration of cv-qualified types and references.
This implements LWG 4481, "Disallow chrono::duration<const T, P>",
which was approved in Croydon 2026.
libstdc++-v3/ChangeLog:
* include/bits/chrono.h: Add static_assert requiring cv-unqualified
non-reference type.
* testsuite/20_util/duration/io.cc: Remove const-qualifier in
stream manipluators tests.
* testsuite/20_util/duration/requirements/typedefs_neg4.cc:
New test.
2026-04-24 17:43:26 +02:00
..
2026-01-02 09:56:11 +01:00
2026-04-24 17:43:26 +02:00
2026-01-02 09:56:11 +01:00
2026-04-14 17:09:26 +02:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-02 15:50:16 +02:00
2026-01-02 09:56:11 +01:00
2026-03-27 23:55:46 -03:00
2026-04-02 13:59:55 +01:00
2026-01-02 09:56:11 +01:00
2026-01-28 01:25:12 +00:00
2026-04-10 07:59:24 +02:00
2026-04-24 16:59:38 +02:00
2026-03-17 21:49:43 +00:00
2026-01-02 09:56:11 +01:00
2026-04-17 13:43:49 +01:00
2026-04-17 13:43:49 +01:00