Landing: 5d225c5aa3d4

Project / Subsystem

gcc / libstdc++

Date

2026-05-05

Author

Jonathan Wakely

Commit

5d225c5aa3d40cbf479d99c0bb2ca22291a11568

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
commit_hash
5d225c5aa3d40cbf479d99c0bb2ca22291a11568
source_type
github
headline
libstdc++: Remove non-concepts fallback for make_shared_for_overwrite
tldr
The libstdc++ now requires compilers to support C++20 concepts for `std::make_shared_for_overwrite`.
author
Jonathan Wakely
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libstdc++
  • C++20
  • concepts
  • memory management
discussion_id_link
bugzilla_pr
date
2026-05-05T00:00:00.000Z

The libstdc++ now requires C++20 concepts for std::make_shared_for_overwrite. The non-concepts fallback implementation is removed, simplifying the code. This change is possible because Clang 10 and later provide support for concepts.