[PATCH 2/5] Atomic __platform_wait: accept any 32-bit type, not just int
Jonathan Wakely
jwakely@redhat.com
Wed Mar 3 17:41:12 GMT 2021
On 03/03/21 19:34 +0200, Ville Voutilainen wrote:
>On Wed, 3 Mar 2021 at 19:25, Jonathan Wakely via Libstdc++
><libstdc++@gcc.gnu.org> wrote:
>> Oh, except that is_scalar is surprisingly expensive to instantiate
>> (its defined in a really expensive way) and since we control all uses
>
>I'll be more than happy to write you an __is_scalar for GCC 12. :P
That would help with https://gcc.gnu.org/PR96710 too. The current
implementation is inefficient and arguably wrong.
More information about the Libstdc++
mailing list