diff options
author | Tomasz Kamiński <tkaminsk@redhat.com> | 2025-03-14 16:04:11 +0100 |
---|---|---|
committer | Tomasz Kamiński <tkaminsk@redhat.com> | 2025-03-18 13:07:00 +0100 |
commit | 8744d53db1b6816586dac102942c00c105524172 (patch) | |
tree | 9436bdf7de70ab0621e59cb9d6b0e9a397126df2 /gcc | |
parent | 260e0a389a70994d2728b389e6865528557e3933 (diff) | |
download | gcc-8744d53db1b6816586dac102942c00c105524172.zip gcc-8744d53db1b6816586dac102942c00c105524172.tar.gz gcc-8744d53db1b6816586dac102942c00c105524172.tar.bz2 |
libstdc++: Add P1206R7 from_range members to ordered maps [PR111055]
This is another piece of P1206R7, adding new members to std::map
and std::multimap.
PR libstdc++/111055
libstdc++-v3/ChangeLog:
* include/bits/ranges_base.h (__detail::__range_to_alloc_type):
Define.
* include/bits/stl_multimap.h: (inser_range)
(multimap(from_range_t, _Rg&&, const _Compare&, const _Alloc&))
(multimap(from_range_t, _Rg&&, const _Alloc&)): Define.
* include/bits/stl_map.h: (map(from_range_t, _Rg&&, const _Alloc&)) i
(map(from_range_t, _Rg&&, const _Compare&, const _Alloc&), insert_range):
Define.
* testsuite/23_containers/multimap/cons/from_range.cc: New test.
* testsuite/23_containers/multimap/modifiers/insert/insert_range.cc: New test.
* testsuite/23_containers/map/cons/from_range.cc: New test.
* testsuite/23_containers/map/modifiers/insert/insert_range.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions