Skip to content

Bump value of __cpp_lib_allocate_at_least for C++23 #6202

@jwakely

Description

@jwakely

LWG 3887 wants to increase the value of the __cpp_lib_allocate_at_least macro to distinguish the pre-P2652R0 API from the new one that will be in C++23. LWG voted this Tentatively Ready, but if we follow the usual process that will be approved in Varna, for C++26. There's not much point updating it if we only do so for C++26.

I think it can be argued that the value of the macro in the standard is editorial. The standard doesn't say what a given value means, only SD-6 does that.

Would the editor please consider giving the value 202302L to __cpp_lib_allocate_at_least, and we'll get @brevzin to update SD-6?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions