Landing: 11de186f0244

Project / Subsystem

gcc / libstdc++

Date

2026-07-15

Author

Patrick Palka

Commit

11de186f02445023bb7d6e9e001087a6e07fc0b2

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
—
commit_hash
11de186f02445023bb7d6e9e001087a6e07fc0b2
source_type
github
headline
Removes unused template parameter from libstdc++ flat_set.
tldr
libstdc++: Simplifies _Flat_set_impl::_M_try_emplace by removing unused template parameter pack.
author
Patrick Palka
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • libstdc++
  • • refactor
  • • C++
discussion_id_link
—
bugzilla_pr
—
date
2026-07-15T00:00:00.000Z

The nullary overload of _Flat_set_impl::_M_try_emplace in libstdc++ has been simplified by removing an unused template parameter pack _Args. This pack was always deduced as empty, making the overload definition unnecessarily complex. Changing it to a non-template function streamlines the implementation.