tmp/tmp4r7tu91a/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Subscript operator <a id="simd.mask.subscr">[[simd.mask.subscr]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
constexpr value_type operator[](simd-size-type i) const;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Preconditions:* `i >= 0 && i < size()` is `true`.
|
| 8 |
+
|
| 9 |
+
*Returns:* The value of the iᵗʰ element.
|
| 10 |
+
|
| 11 |
+
*Throws:* Nothing.
|
| 12 |
+
|
| 13 |
+
``` cpp
|
| 14 |
+
template<simd-integral I>
|
| 15 |
+
constexpr resize_t<I::size(), basic_mask> operator[](const I& indices) const;
|
| 16 |
+
```
|
| 17 |
+
|
| 18 |
+
*Effects:* Equivalent to: `return permute(*this, indices);`
|
| 19 |
+
|