Landing: 87e4eb449270
Project / Subsystem
gcc / libstdc++
Date
2026-05-14
Author
Tomasz Kamiński
Commit
87e4eb4492701426a02f5fcf460bb0b6d432d2b7
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- 87e4eb4492701426a02f5fcf460bb0b6d432d2b7
- source_type
- github
- headline
- libstdc++: Include range_access.h from <optional> and <stacktrace>
- tldr
- libstdc++ now includes range_access.h in <optional> and <stacktrace> to implement resolutions for LWG4131 and LWG3625 related to range support.
- author
- Tomasz Kamiński
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • ranges
- • optional
- • stacktrace
- • c++23
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-14T00:00:00.000Z
This commit implements resolutions for LWG4131 and LWG3625, which are part of the P3016R6 proposal, by including range_access.h from <optional> and <stacktrace>. This change is applied as a defect report (DR) for the oldest applicable standards: C++26 for <optional> (since optional range support) and C++23 for <stacktrace> (since its introduction).