Skip to content

Conversation

@StephanTLavavej
Copy link
Member

  • Merge main to pick up Various cleanups #5924, which cleaned up interleaved conditional includes.
  • std.ixx: Avoid interleaving conditional includes.
  • Clarify "leaf-most" comment.
    • Use angle brackets to distinguish <vector> as a header.
    • Explicitly mention <flat_map> and <flat_set> for searchability.
  • <vector>'s _Clear_guard shadows/supersedes _Hash::_Clear_guard.
  • <flat_map>: Consistently use CTAD for _Clear_guard.
  • <flat_set>: Consistently use CTAD and this/_Other for _Clear_guard.
  • flat_map and flat_multimap don't need using _MyBase::_Erase_if;.
  • <flat_set>: Centralize _Erase_if.
    • Goodbye public _Get_container_for_erase_if().
    • Use CTAD and this for the _Clear_guard.
    • Use _Pass_fn only at the outer layer.
  • Need to report a Down With Typename bug to EDG.
  • <flat_map>: _Erase_if and the friendship can be private to the base class.

muellerj2 and others added 17 commits December 1, 2025 10:18
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Use angle brackets to distinguish `<vector>` as a header.

Explicitly mention `<flat_map>` and `<flat_set>` for searchability.
Goodbye public `_Get_container_for_erase_if()`.

Use CTAD and `this` for the `_Clear_guard`.

Use `_Pass_fn` only at the outer layer.
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner December 5, 2025 10:32
@StephanTLavavej StephanTLavavej added enhancement Something can be improved flat_meow C++23 container adaptors labels Dec 5, 2025
@github-project-automation github-project-automation bot moved this to Initial Review in STL Code Reviews Dec 5, 2025
@StephanTLavavej StephanTLavavej merged commit 7b22f59 into microsoft:feature/flat_map Dec 5, 2025
45 checks passed
@github-project-automation github-project-automation bot moved this from Initial Review to Done in STL Code Reviews Dec 5, 2025
@StephanTLavavej StephanTLavavej deleted the flat_meow branch December 5, 2025 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved flat_meow C++23 container adaptors

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants