tmp/tmpw3zqzb9a/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### `flags` operators <a id="simd.flags.oper">[[simd.flags.oper]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
template<class... Other>
|
| 5 |
+
friend consteval auto operator|(flags a, flags<Other...> b);
|
| 6 |
+
```
|
| 7 |
+
|
| 8 |
+
*Returns:* A default-initialized object of type `flags<Flags2...>` for
|
| 9 |
+
some `Flags2` where every type in `Flags2` is present either in template
|
| 10 |
+
parameter pack `Flags` or in template parameter pack `Other`, and every
|
| 11 |
+
type in template parameter packs `Flags` and `Other` is present in
|
| 12 |
+
`Flags2`. If the packs `Flags` and `Other` contain two different
|
| 13 |
+
specializations *`overaligned-flag`*`<N1>` and
|
| 14 |
+
*`overaligned-flag`*`<N2>`, `Flags2` is not required to contain the
|
| 15 |
+
specialization *`overaligned-flag`*`<std::min(N1, N2)>`.
|
| 16 |
+
|