Landing: b8a469b62d85

Project / Subsystem

gcc / libstdc++

Date

2026-10-01

Author

Jonathan Wakely

Commit

b8a469b62d85dc9cf8b995e0eece8eaa7f9ba7aa

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
—
commit_hash
b8a469b62d85dc9cf8b995e0eece8eaa7f9ba7aa
source_type
github
headline
libstdc++: Add enable_borrowed_range<as_input_view<V>> [PR125785]
tldr
Adds missing specialization for enable_borrowed_range with as_input_view and improves testing for range adaptors.
author
Jonathan Wakely
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • libstdc++
  • • ranges
  • • testing
discussion_id_link
—
bugzilla_pr
—
date
2026-10-01T00:00:00.000Z

This commit adds the necessary enable_borrowed_range specialization for std::ranges::as_input_view<V>. It also introduces new tests to ensure proper coverage for as_const_view and as_rvalue_view specializations, which were previously untested.