Before pushing I checked other std::erase_if and std::erase
implementations, so this new patch.
libstdc++: Avoid _GLIBCXX20_CONSTEXPR in C++ >= 20 code sections
libstdc++-v3/ChangeLog:
* include/std/vector (std::erase_if, std::erase): Replace
_GLIBCXX20_CONSTEXPR
On Wed, 1 Oct 2025 at 06:16, François Dumont wrote:
>
> Hi
>
> Minor patch, just need to confirm that constexpr implies inline, no ?
That's correct. This is a good cleanup.
>
> libstdc++: Avoid _GLIBCXX20_CONSTEXPR in C++ >= 20 code section
>
> libstdc++-v3/ChangeLog:
>
>
Hi
Minor patch, just need to confirm that constexpr implies inline, no ?
libstdc++: Avoid _GLIBCXX20_CONSTEXPR in C++ >= 20 code section
libstdc++-v3/ChangeLog:
* include/std/vector (std::erase_if): Replace
_GLIBCXX20_CONSTEXPR
with 'constexpr' and remove impl