-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implement P2652R2 Disallowing User Specialization Of allocator_traits
#3542
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
Conversation
Also enable EDG support and test coverage
|
Thanks! 😻 I've pushed very minor changes, including a tiny throughput improvement. FYI @strega-nil-ms as you already approved. |
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
|
Thanks again for updating |
Fixes #3443. Also enables support and test coverage for EDG.
Upgrades
allocator_traits::allocate_at_leastto_NODISCARD_RAW_PTR_ALLOC.I've filed DevCom-10301073 to request compiler support for this. Given compilers are already required to reject
initializer_listspecialization declarations, I think it's reasonable to do the same thing forallocator_traits.