Landing: bbcc9da1f026
Project / Subsystem
gcc / libstdc++
Date
2026-05-13
Author
Tomasz Kamiński
Commit
bbcc9da1f026b202c692e0b47eeacd28e0c69c0d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- bbcc9da1f026b202c692e0b47eeacd28e0c69c0d
- source_type
- github
- headline
- Use type_identity_t for operator<=> parameter [PR114400]
- tldr
- This commit updates the `operator<=>` parameter type in `std::string_view` to use `type_identity_t`.
- author
- Tomasz Kamiński
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • string_view
- • cpp20
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-13T00:00:00.000Z
This commit modifies the parameter type of the operator<=> in std::string_view to use type_identity_t instead of __type_identity_t. This change aligns with a similar update to operator== and fully addresses LWG3950, which concerns the specification of std::basic_string_view comparison operators.