Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc++] Implement P0429R9 std::flat_map #98643

Merged
merged 42 commits into from
Oct 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
15efacf
[libc++] Implement P0429R9 `std::flat_map`
huixie90 Jul 12, 2024
a37517f
tests
huixie90 Jul 17, 2024
d04e5eb
more fixes
huixie90 Jul 31, 2024
6cc6ce2
clang-format tests
huixie90 Aug 21, 2024
9a6689c
fix some comments
huixie90 Aug 21, 2024
5b2f3b2
fix some comments
huixie90 Aug 31, 2024
7c9e529
fix some comments
huixie90 Sep 1, 2024
38f0c92
exception guard etc
huixie90 Sep 8, 2024
c9a3af5
more fixes
huixie90 Sep 8, 2024
068cae0
fix comments
huixie90 Sep 15, 2024
80b6d8a
fix comments
huixie90 Sep 15, 2024
ed6c867
input iterator
huixie90 Sep 15, 2024
ea916c4
static_assert
huixie90 Sep 15, 2024
a358443
static_assert
huixie90 Sep 15, 2024
7d4206f
tests
huixie90 Sep 15, 2024
3bbead6
lots of fixes
huixie90 Sep 20, 2024
5e7ed19
input iterator & vector<bool> ban
huixie90 Sep 21, 2024
bb67626
comments
huixie90 Sep 22, 2024
0ab3275
exception tests
huixie90 Sep 22, 2024
ced3a46
more tests
huixie90 Sep 27, 2024
d177ec6
address comment
huixie90 Sep 29, 2024
e6d9d11
parameterise tests
huixie90 Oct 5, 2024
ea7603b
constexpr
huixie90 Oct 5, 2024
b381bd7
rebase
huixie90 Oct 13, 2024
8d157bf
address more comments
huixie90 Oct 13, 2024
226edd3
CI
huixie90 Oct 13, 2024
7246f62
CI
huixie90 Oct 13, 2024
3d762bd
CI
huixie90 Oct 18, 2024
7e95a82
ci
huixie90 Oct 19, 2024
64673ed
review comments
huixie90 Oct 19, 2024
44ec79b
ci
huixie90 Oct 19, 2024
25d917a
ci
huixie90 Oct 20, 2024
4600ee7
ci
huixie90 Oct 20, 2024
e6ed1e5
ci
huixie90 Oct 20, 2024
c1f3d77
ci
huixie90 Oct 20, 2024
5210813
ci
huixie90 Oct 20, 2024
f15aba1
review comments
huixie90 Oct 26, 2024
f2ee7a9
review comments
huixie90 Oct 26, 2024
bac0f3c
ci
huixie90 Oct 26, 2024
74625a1
ci
huixie90 Oct 26, 2024
e6d0024
ci
huixie90 Oct 26, 2024
037195f
tests
huixie90 Oct 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libcxx/docs/ReleaseNotes/20.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Implemented Papers
- P2985R0: A type trait for detecting virtual base classes (`Github <https://github.com/llvm/llvm-project/issues/105432>`__)
- ``std::jthread`` and ``<stop_token>`` are not guarded behind ``-fexperimental-library`` anymore
- P2674R1: A trait for implicit lifetime types (`Github <https://github.com/llvm/llvm-project/issues/105259>`__)
- P0429R9: A Standard ``flat_map`` is partially implemented and ``flat_map`` is provided (`Github <https://github.com/llvm/llvm-project/issues/105190>`__)

Improvements and New Features
-----------------------------
Expand Down
2 changes: 1 addition & 1 deletion libcxx/docs/Status/Cxx23Papers.csv
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"`P2443R1 <https://wg21.link/P2443R1>`__","``views::chunk_by``","2022-02 (Virtual)","|Complete|","18.0",""
"","","","","",""
"`P0009R18 <https://wg21.link/P0009R18>`__","mdspan: A Non-Owning Multidimensional Array Reference","2022-07 (Virtual)","|Complete|","18.0",""
"`P0429R9 <https://wg21.link/P0429R9>`__","A Standard ``flat_map``","2022-07 (Virtual)","","",""
"`P0429R9 <https://wg21.link/P0429R9>`__","A Standard ``flat_map``","2022-07 (Virtual)","|In progress|","",""
"`P1169R4 <https://wg21.link/P1169R4>`__","``static operator()``","2022-07 (Virtual)","|Complete|","16.0",""
"`P1222R4 <https://wg21.link/P1222R4>`__","A Standard ``flat_set``","2022-07 (Virtual)","","",""
"`P1223R5 <https://wg21.link/P1223R5>`__","``ranges::find_last()``, ``ranges::find_last_if()``, and ``ranges::find_last_if_not()``","2022-07 (Virtual)","|Complete|","19.0",""
Expand Down
3 changes: 3 additions & 0 deletions libcxx/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ set(files
__filesystem/recursive_directory_iterator.h
__filesystem/space_info.h
__filesystem/u8path.h
__flat_map/flat_map.h
__flat_map/sorted_unique.h
__format/buffer.h
__format/concepts.h
__format/container_adaptor.h
Expand Down Expand Up @@ -957,6 +959,7 @@ set(files
ext/hash_set
fenv.h
filesystem
flat_map
float.h
format
forward_list
Expand Down
Loading