From Jason Turner

[simd.subscr]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpk23vl6jg/{from.md → to.md} +19 -0
tmp/tmpk23vl6jg/{from.md → to.md} RENAMED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Subscript operator <a id="simd.subscr">[[simd.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_vec> operator[](const I& indices) const;
16
+ ```
17
+
18
+ *Effects:* Equivalent to: `return permute(*this, indices);`
19
+