Patrick Palka
3e02f86cd1
libstdc++: Inconsistent const in flat_map's value_type [PR122921]
...
flat_map's value_type is pair<key_type, mapped_type>, which we correctly
define within the container but incorrectly within the iterator.
PR libstdc++/122921
libstdc++-v3/ChangeLog:
* include/std/flat_map (_Flat_map_impl::_Iterator::value_type):
Remove const from key_type to make consistent with the
container's value_type.
* testsuite/23_containers/flat_map/1.cc (test09): New test.
* testsuite/23_containers/flat_multimap/1.cc (test09): New test.
Reported-by: Vincent X
Reviewed-by: Jonathan Wakely <jwakely@redhat.com >
2025-12-01 17:08:01 -05:00
..
2025-06-04 10:29:47 -04:00
2025-01-02 11:59:57 +01:00
2025-07-14 21:41:37 +01:00
2025-10-10 07:38:17 +02:00
2025-05-30 10:02:29 +01:00
2025-06-03 10:53:00 +01:00
2025-11-14 13:08:53 +00:00
2025-07-11 08:34:13 +01:00
2025-11-26 14:34:05 +01:00
2025-01-02 11:59:57 +01:00
2025-08-28 14:00:48 +01:00
2025-09-11 14:38:59 +01:00
2025-10-14 17:26:42 +01:00
2025-01-02 11:59:57 +01:00
2025-08-28 17:47:00 +01:00
2025-09-26 11:05:54 +01:00
2025-01-02 11:59:57 +01:00
2025-11-24 14:59:05 +00:00
2025-01-02 11:59:57 +01:00
2025-12-01 17:08:01 -05:00
2025-04-29 08:21:35 -04:00
2025-11-14 18:27:01 +01:00
2025-04-11 13:56:03 +02:00
2025-01-02 11:59:57 +01:00
2025-11-14 12:38:27 +01:00
2025-04-25 11:47:12 +01:00
2025-04-24 22:22:33 +01:00
2025-09-30 21:59:16 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-11-24 10:12:38 +00:00
2025-01-02 11:59:57 +01:00
2025-05-30 10:02:28 +01:00
2025-08-21 10:04:45 +01:00
2025-04-11 13:56:03 +02:00
2025-01-02 11:59:57 +01:00
2025-04-11 13:56:03 +02:00
2025-11-20 17:21:05 +01:00
2025-09-22 15:59:21 +02:00
2025-01-02 11:59:57 +01:00
2025-10-14 17:26:42 +01:00
2025-01-02 11:59:57 +01:00
2025-05-06 17:19:26 +01:00
2025-11-24 14:59:07 +00:00
2025-10-10 09:00:22 +02:00
2025-10-10 09:00:22 +02:00
2025-10-10 09:23:01 +02:00
2025-09-23 16:38:29 +01:00
2025-11-27 14:59:33 +01:00
2025-01-02 11:59:57 +01:00
2025-10-29 15:43:36 +00:00
2025-01-02 11:59:57 +01:00
2025-06-06 20:15:07 +01:00
2025-04-11 13:56:03 +02:00
2025-11-18 17:13:44 +00:00
2025-01-02 11:59:57 +01:00
2025-09-10 12:46:57 +02:00
2025-09-27 21:18:42 +01:00
2025-06-11 10:30:10 +01:00
2025-10-10 09:23:01 +02:00
2025-10-16 14:59:42 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-08-26 15:21:41 +02:00
2025-01-02 11:59:57 +01:00
2025-10-01 21:52:44 +02:00
2025-01-02 11:59:57 +01:00
2025-09-11 10:36:56 +01:00
2025-01-02 11:59:57 +01:00
2024-11-11 18:57:16 +00:00
2025-10-10 09:13:00 +02:00
2025-10-29 17:13:59 +01:00
2025-11-19 11:03:07 +01:00
2025-01-02 11:59:57 +01:00
2025-04-11 13:56:03 +02:00
2025-04-11 13:56:03 +02:00
2025-10-18 23:18:02 +01:00
2025-10-27 09:54:55 +00:00
2025-07-14 21:41:37 +01:00
2025-11-20 19:10:20 +01:00
2025-01-02 11:59:57 +01:00