Re: [PATCH v2] libstdc++: Use 'if constexpr' to slightly simplify

2025-04-29 Thread Jonathan Wakely
On Tue, 29 Apr 2025 at 10:37, Tomasz Kaminski wrote: > > > > On Tue, Apr 29, 2025 at 10:58 AM 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

Re: [PATCH v2] libstdc++: Use 'if constexpr' to slightly simplify

2025-04-29 Thread Tomasz Kaminski
On Tue, Apr 29, 2025 at 10:58 AM 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

[PATCH v2] libstdc++: Use 'if constexpr' 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