Landing: 5826d8444caa

Project / Subsystem

gcc / libstdc++

Date

2026-07-14

Author

François Dumont

Commit

5826d8444caa4dfeda28f95d72fa658b0b3c771c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
commit_hash
5826d8444caa4dfeda28f95d72fa658b0b3c771c
source_type
github
headline
Debug iterator support in libstdc++ improved
tldr
Refactors libstdc++'s debug iterators for cleaner constant evaluation compatibility.
author
François Dumont
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libstdc++
  • debug
  • refactor
discussion_id_link
bugzilla_pr
date
2026-07-14T00:00:00.000Z

This commit refactors the _Safe_iterator and _Safe_local_iterator implementations within libstdc++‘s debug mode. It simplifies the use of base class constructors and removes intermediate typedefs, directly using template parameters and base class types. This cleanup improves compatibility with constant evaluation and makes the code more maintainable.