Skip to content

Conversation

@StephanTLavavej
Copy link
Member

Overview

One or two years of deprecation notice is enough. (VS 2022 17.14 and VS 2026 18.0 still support these non-Standard iterators and will be supported for a long time, giving customers plenty of notice and time to migrate.)

These non-Standard iterators make it more difficult to write portable code. They're no longer necessary to avoid obnoxious "output iterator is a raw pointer" warnings from STL algorithms (which we removed a long time ago). gsl::span (available downlevel to C++14) and std::span in C++20 are superior mechanisms, since they act as ranges instead of individual iterators.

Commits

  • Remove product code.
  • Tombstone the deprecation warning.
  • Delete entire tests.
  • Remove test coverage.
  • Ensure that we never mention these names again.
  • Remove unnecessary test usage (originally to silence warnings).

@StephanTLavavej StephanTLavavej requested a review from a team as a code owner October 30, 2025 17:24
@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Oct 30, 2025
@github-project-automation github-project-automation bot moved this to Initial Review in STL Code Reviews Oct 30, 2025
@StephanTLavavej StephanTLavavej moved this from Initial Review to Final Review in STL Code Reviews Oct 30, 2025
@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej moved this from Final Review to Merging in STL Code Reviews Nov 5, 2025
@StephanTLavavej StephanTLavavej merged commit 0609cbf into microsoft:main Nov 5, 2025
41 checks passed
@github-project-automation github-project-automation bot moved this from Merging to Done in STL Code Reviews Nov 5, 2025
@StephanTLavavej StephanTLavavej deleted the arr-matey branch November 5, 2025 18:10
@StephanTLavavej
Copy link
Member Author

StephanTLavavej commented Nov 7, 2025

Programmer-Archaeology

Qt

In #4605 (April 2024), I mentioned that "Qt stopped using stdext::checked_array_iterator and backported that to their various release branches". Here are the specific releases, from examining qtbase/src/corelib/global/qcompilerdetection.h:

  • Qt 5.15.17 contains the fix.
    • I believe this was released in May 2024.
  • Qt 6.5.5 contains the fix.
    • I believe this was released in March 2024.
  • Qt 6.6.1 contains the fix.
    • I believe this was released in November 2023.
  • Qt 6.7.0 contains the fix.
    • I believe this was released in April 2024.

aws-sdk-cpp

Fixed in November 2023 by aws/aws-sdk-cpp#2726.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants