]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: constexpr flat_map and flat_multimap
authorYuao Ma <c8ef@outlook.com>
Fri, 12 Dec 2025 11:26:01 +0000 (19:26 +0800)
committerYuao Ma <c8ef@outlook.com>
Sat, 10 Jan 2026 07:08:53 +0000 (15:08 +0800)
commit2226b67bbe2bfdce51623db31059169850c52a7b
tree909fb45c992a6e77922afc40ea6c342737872683
parentf2cdddef40c6a094f47ea349a7806be0af55b491
libstdc++: constexpr flat_map and flat_multimap

This patch makes flat_map and flat_multimap constexpr as part of P3372R3.

libstdc++-v3/ChangeLog:

* include/bits/version.def: Add FTM.
* include/bits/version.h: Regenerate.
* include/std/flat_map: Add constexpr.
* testsuite/23_containers/flat_map/1.cc: Add constexpr test.
* testsuite/23_containers/flat_multimap/1.cc: Add constexpr test.
libstdc++-v3/include/bits/version.def
libstdc++-v3/include/bits/version.h
libstdc++-v3/include/std/flat_map
libstdc++-v3/testsuite/23_containers/flat_map/1.cc
libstdc++-v3/testsuite/23_containers/flat_multimap/1.cc