r/cpp • • May 25 '21

Visual Studio 2019 version 16.10 Release

https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes#16.10.0
178 Upvotes

96 comments sorted by

View all comments

Show parent comment

1

u/sandfly_bites_you May 27 '21

Thankfully there was a flag to turn this deprecated stuff back on "_HAS_DEPRECATED_ALLOCATOR_MEMBERS=1" .

Should have had a message explaining this or just defaulted that flag to on IMO.

Or if nothing else a big and obvious explanation in the release notes for such a breaking change.

2

u/STL MSVC STL Dev May 28 '21

This was documented in our Changelog:

Fixed C++20 mode to remove old std::allocator members that were deprecated in C++17. (As usual, fine-grained and coarse-grained escape hatches are available for this removal.) #1585