Landing: 108fdf003e70
Project / Subsystem
gcc / libstdc++
Date
2026-04-30
Author
Tomasz Kamiński
Commit
108fdf003e70643c921d9e40220c1312338e767c
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- 108fdf003e70643c921d9e40220c1312338e767c
- source_type
- github
- headline
- libstdc++: Remove duplicated __mdspan::__is_constant_wrapper.
- tldr
- Removes a duplicated `__is_constant_wrapper` in libstdc++, replacing it with `std::__is_constant_wrapper_v` from the `utility` header.
- author
- Tomasz Kamiński
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • mdspan
- • cleanup
- • c++
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-30T00:00:00.000Z
The __mdspan implementation in libstdc++ contained a duplicate of the __is_constant_wrapper utility. This commit removes the duplicated implementation and replaces its uses with std::__is_constant_wrapper_v from the <utility> header, thus avoiding code duplication.