Remove non-Standard basic_istream::ipfx()/isfx(), basic_ostream::opfx()/osfx(), and locale::empty() by StephanTLavavej · Pull Request #5834 · microsoft/STL (original) (raw)
Copy link
Member
StephanTLavavej commented
Let's finish cleaning house.
basic_istream::ipfx()/isfx()andbasic_ostream::opfx()/osfx()were deprecated since VS 2022 17.9 in February 2024 (for C++17 and later) and VS 2022 17.11 in August 2024 (unconditionally).locale::empty()was deprecated since VS 2022 17.14 in May 2025.
I've verified that the DLL's export surface is unchanged.
There appears to have been virtually zero usage; I see no occurrences of the silencing macros in our internal or Real World Code test suites (modulo preprocessed files), which is why I'm being a bit more aggressive here.
Although we shouldn't ever need to change them, I'm keeping the comments on the function definitions. However, the comment on the declaration of locale::empty() serves no purpose, so I'm removing it.
frederick-vs-ja and LiuYinCarl reacted with hooray emoji frederick-vs-ja reacted with heart emoji