<xmemory>: remove deprecated std::allocator members in C++20#1585
<xmemory>: remove deprecated std::allocator members in C++20#1585StephanTLavavej merged 3 commits intomicrosoft:mainfrom MichaelRizkalla:remove_deprecated
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 andtypedefs when compiling in C++20 mode.It should close #1445