libstdc++: Add missing trait is_simd_flag_type
authorMatthias Kretz <m.kretz@gsi.de>
Wed, 22 Mar 2023 07:12:08 +0000 (08:12 +0100)
committerMatthias Kretz <m.kretz@gsi.de>
Tue, 28 Mar 2023 14:43:14 +0000 (16:43 +0200)
commit97383b4116ea63486eb5bfb0a7140871bed75fb4
tree044b957f8f7d3385f317b4a1078352206e7a3853
parentfb046e69f0ed2d637ea715ae71ad50131f30cb2d
libstdc++: Add missing trait is_simd_flag_type

Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
libstdc++-v3/ChangeLog:

* include/experimental/bits/simd.h (is_simd_flag_type): New.
(_IsSimdFlagType): New.
(copy_from, copy_to, load ctors): Constrain _Flags using
_IsSimdFlagType.
libstdc++-v3/include/experimental/bits/simd.h