Skip to content

P2652R2 Disallowing User Specialization Of allocator_traits #3443

Description

WG21-P2652R2 Disallowing User Specialization Of allocator_traits

No feature-test macro is mentioned.

In addition to this paper's observable changes, there's the question that A. Jiang (@frederick-vs-ja) raised on Discord - what to do about:

If a program declares an explicit or partial specialization of allocator_traits, the program is ill-formed, no diagnostic required.

We could do nothing (allowing squirrelly programs to be bad kitties 🐿️ 😼), or we could implement enforcement (with possible throughput impact and extensive codebase edits).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cxx23C++23 featurefixedSomething works now, yay!

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions