Re: [Patch][libstdc++] Add constexpr specifier to function

2024-06-05 Thread Jonathan Wakely
On Thu, 6 Jun 2024 at 07:49, Jonathan Wakely wrote: > > On Thu, 6 Jun 2024 at 03:37, Deev Patel wrote: > > > > Things like std::atomic are currently unable to be created in a > > constexpr context with clang 18 and c++20. Example compilation error > > ``` > > external/com_google_tcmalloc/tcmallo

Re: [Patch][libstdc++] Add constexpr specifier to function

2024-06-05 Thread Jonathan Wakely
On Thu, 6 Jun 2024 at 03:37, Deev Patel wrote: > > Things like std::atomic are currently unable to be created in a > constexpr context with clang 18 and c++20. Example compilation error > ``` > external/com_google_tcmalloc/tcmalloc/parameters.cc:223:17: error: variable > does not have a constant