Landing: 07337728c028

Project / Subsystem

gcc / libstdc++

Date

2026-08-06

Author

Tomasz Kamiński

Commit

07337728c028420ec122f95b60ef449259ddccc9

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
—
commit_hash
07337728c028420ec122f95b60ef449259ddccc9
source_type
github
headline
Support constexpr formatting for vector<bool>::reference.
tldr
libstdc++ now supports constexpr formatting for vector<bool>::reference, enabling compile-time formatting.
author
Tomasz Kamiński
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • c++
  • • standard-library
  • • constexpr
discussion_id_link
—
bugzilla_pr
—
date
2026-08-06T00:00:00.000Z

The C++ standard library’s vector<bool>::reference type now supports constexpr formatting. This change, part of the P3391R2 “constexpr format” proposal, ensures that formatting operations on specialized boolean vectors can be performed at compile time, improving performance and enabling new compile-time checks.