Landing: d22b7d0195db
Project / Subsystem
gcc / libstdc++
Date
2026-09-10
Author
François Dumont
Commit
d22b7d0195dbe3ebe52fd71f43f42aac956d3e5e
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- d22b7d0195dbe3ebe52fd71f43f42aac956d3e5e
- source_type
- github
- headline
- libstdc++: Simplify constant-evaluated checks using 'consteval'.
- tldr
- Debug version of inplace_vector now uses 'if consteval' instead of std::is_constant_evaluated().
- author
- François Dumont
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • c++20
- • compiler
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-10T00:00:00.000Z
In the debug implementation of std::inplace_vector, checks for constant evaluation have been simplified. The code now uses the if consteval syntax, a C++20 feature, directly, replacing calls to std::is_constant_evaluated(). This change applies to emplace, insert, and erase operations.