Landing: 26446cad5768
Project / Subsystem
gcc / libstdc++
Date
2026-07-16
Author
Jakub Jelinek
Commit
26446cad5768b74f6c777ca135bc5bcfbd0f3f3d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- 26446cad5768b74f6c777ca135bc5bcfbd0f3f3d
- source_type
- github
- headline
- Apply __no_specializations__ to several C++ standard library templates
- tldr
- Attribute added to library templates to prevent unintended specializations, resolving LWG issues.
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • cpp
- • template
- • standard-library
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-16T00:00:00.000Z
The _Clang::__no_specializations__ attribute has been applied to several C++ standard library templates, including std::variant, std::tuple, std::initializer_list, and std::type_order. This change aims to prevent ill-formed specializations that would otherwise lead to compilation errors, addressing Library Working Group (LWG) issues.