Skip to content

P0429R9 <flat_map> #2910

@StephanTLavavej

Description

@StephanTLavavej

WG21-P0429R9 <flat_map>
WG21-P3567R2 flat_meow Fixes (parts 4/7/8 likely implemented; parts 5/6 remain - thanks @frederick-vs-ja)
LWG-3786 Flat maps' deduction guides need to default Allocator to be useful
LWG-3803 flat_meow constructors taking KeyContainer lack KeyCompare parameter
LWG-3816 flat_map and flat_multimap should impose sequence container requirements
LWG-3884 flat_meow is missing allocator-extended copy/move constructors
LWG-3987 Including <flat_meow> doesn't provide std::begin/end

Feature-test macro:

#define __cpp_lib_flat_map 202511L

Internal VS-PR-420058 has taught the IDE about this new extensionless header - thanks @CaseyCarter!

WG21-P3567R2 "flat_meow Fixes" was voted into C++26 at the November 2025 meeting; while it wasn't officially a C++23 DR, we should obviously implement it as part of the initial release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cxx23C++23 featureflat_meowC++23 container adaptors

    Type

    No type

    Projects

    Status

    Investigating

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions