Patrick Palka
35d7545883
libstdc++: Fix constraint recursion in std::indirect's operator== [PR124890]
...
Like in r16-559 for std::expected, std::indirect's operator== is also
prone to constraint recursion due to CWG 2369, for the Mandates that we
implement as an associated constraint. This patch works around the
recursion in a similar manner as done for std::expected (and
std::basic_const_iterator).
PR libstdc++/124890
PR libstdc++/119714
PR libstdc++/112490
libstdc++-v3/ChangeLog:
* include/bits/indirect.h (indirect::operator==): Replace
non-dependent std::indirect function parameter with a
dependent one of type indirect<_Vp> where _Vp matches _Tp.
* testsuite/std/memory/indirect/124890.cc: New test.
Reviewed-by: Jonathan Wakely <jwakely@redhat.com >
2026-04-17 12:57:46 -04:00
..
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-10 13:38:23 -04:00
2026-01-02 09:56:11 +01:00
2026-03-16 15:17:45 +00:00
2026-03-30 18:01:13 +02:00
2026-01-02 09:56:11 +01:00
2026-01-09 19:18:21 +00:00
2026-03-09 16:44:11 +00:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-07 19:25:27 +02:00
2026-04-07 19:25:27 +02:00
2026-04-02 13:59:55 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-01 12:51:16 +01:00
2026-04-02 13:59:57 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-07 19:25:27 +02:00
2026-01-02 09:56:11 +01:00
2026-03-17 21:49:14 +00:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-19 10:17:47 +01:00
2026-04-02 13:59:55 +01:00
2026-04-02 13:59:55 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-17 21:49:43 +00:00
2026-01-02 09:56:11 +01:00
2026-04-08 13:22:20 +02:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-08 13:22:20 +02:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-13 22:29:22 +02:00
2026-04-13 22:29:22 +02:00
2026-01-02 09:56:11 +01:00
2026-04-17 12:57:46 -04:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-15 10:17:43 -05:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-10 13:38:23 -04:00
2026-01-02 09:56:11 +01:00
2026-04-02 13:59:56 +01:00
2026-03-16 15:17:45 +00:00
2026-01-07 15:07:33 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-17 13:43:49 +01:00
2026-04-02 13:59:56 +01:00
2026-01-02 09:56:11 +01:00
2026-04-02 13:59:55 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-17 13:43:49 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-15 17:51:49 +01:00
2026-01-02 09:56:11 +01:00
2026-03-10 18:22:28 +00:00
2026-01-02 09:56:11 +01:00
2026-03-16 22:04:23 +00:00
2026-01-19 12:09:11 +01:00
2026-04-10 07:59:24 +02:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-18 15:40:51 +01:00
2026-01-02 09:56:11 +01:00
2026-04-02 13:59:58 +01:00
2026-01-02 09:56:11 +01:00
2026-02-09 20:04:12 -05:00
2026-02-12 15:17:57 -05:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-02-09 20:04:12 -05:00
2026-02-11 11:00:03 +00:00
2026-04-01 12:51:13 +01:00
2026-01-09 19:18:21 +00:00
2026-01-02 09:56:11 +01:00
2026-01-28 10:28:09 +00:00
2026-01-02 09:56:11 +01:00
2026-03-21 12:44:15 +01:00
2026-03-21 12:44:15 +01:00
2026-03-21 12:44:15 +01:00
2026-03-21 12:44:15 +01:00
2026-03-21 12:44:15 +01:00
2026-03-21 12:44:15 +01:00
2026-03-21 12:44:15 +01:00
2026-03-21 12:44:15 +01:00
2026-04-15 09:40:55 +02:00
2026-03-21 12:44:15 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-07 15:07:33 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-02 13:59:56 +01:00
2026-04-02 13:59:56 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-02 13:59:56 +01:00
2026-02-11 17:54:09 +01:00
2026-01-13 19:14:26 +01:00
2026-04-02 13:59:56 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-02 13:59:55 +01:00
2026-02-04 17:39:51 -05:00
2026-02-04 17:39:51 -05:00
2026-04-02 13:59:56 +01:00
2026-04-02 13:59:57 +01:00
2026-04-02 13:59:56 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-02 13:59:55 +01:00
2026-01-02 09:56:11 +01:00
2026-04-02 13:59:56 +01:00
2026-03-27 11:37:39 -04:00
2026-04-10 07:59:24 +02:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2025-10-08 18:02:39 +02:00
2025-11-14 18:27:01 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-02 13:59:56 +01:00
2026-04-02 13:59:56 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-04-14 14:20:59 +02:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-21 12:44:15 +01:00
2026-01-02 09:56:11 +01:00
2026-04-14 17:09:26 +02:00
2026-04-14 17:09:26 +02:00
2026-01-02 09:56:11 +01:00