-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
<xmemory>: remove deprecated std::allocator members in C++20 #1585
<xmemory>: remove deprecated std::allocator members in C++20 #1585
Conversation
It seems some of the tests are running with I have two options in mind:
|
What we usually do is:
In general, deprecated/removed machinery shouldn't cause us to stop running a test in Looking at the very first test failure, for example: STL/tests/std/tests/Dev11_0920385_list_sort_allocator/test.cpp Lines 467 to 477 in b1fbbdc
Here, the test is exercising both deprecated machinery (the offending |
I would like to note that @BillyONeal had some reservations about removing That is why I dropped it from the patch |
@StephanTLavavej I decided to define the restore machinery macro because the three failing tests are testing the removed functions as it seems and to be consistent with the other tests in the system. The PR should be ready for review now 😄. |
@miscco The current working draft and WG21-P0619 do not include the |
|
Thanks for encouraging code modernization! This will ship in VS 2019 16.10 Preview 1. 🚀 😺 |
This PR removes the deprecated
std::allocator<void>
andstd::allocator
's member functions andtypedef
s when compiling in C++20 mode.It should close #1445