Yes, this is a bug that's fixed in VS 2022 17.12.
Bug report: https://github.com/microsoft/STL/issues/4728 Fix: https://github.com/microsoft/STL/pull/4729