Re: [PATCH v3] libstdc++: Use constexpr-if to slightly simplify

2025-04-29 Thread Tomasz Kaminski
On Tue, Apr 29, 2025 at 4:11 PM Jonathan Wakely wrote: > This will hardly make a dent in the very slow compile times for > but it seems worth doing anyway. > > libstdc++-v3/ChangeLog: > > * include/bits/regex_compiler.h: Replace _GLIBCXX17_CONSTEXPR > with constexpr and disable d

[PATCH v3] libstdc++: Use constexpr-if to slightly simplify

2025-04-29 Thread Jonathan Wakely
This will hardly make a dent in the very slow compile times for but it seems worth doing anyway. libstdc++-v3/ChangeLog: * include/bits/regex_compiler.h: Replace _GLIBCXX17_CONSTEXPR with constexpr and disable diagnostics with pragmas. (_AnyMatcher::operator()): Use const