Skip to content

Commit 8eaae6a

Browse files
committed
Introduce [parallel.simd.mask.subscr]
1 parent 8b50984 commit 8eaae6a

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

data_parallel_types.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2621,6 +2621,54 @@ <h1><ins><code>simd_mask</code> copy functions</ins></h1>
26212621
</cxx-remarks>
26222622
</cxx-function>
26232623
</cxx-section>
2624+
2625+
<cxx-section id="parallel.simd.mask.subscr">
2626+
<h1><ins><code>simd_mask</code> subscript operators</ins></h1>
2627+
2628+
<cxx-function>
2629+
<cxx-signature><ins>reference operator[](size_t i);</ins></cxx-signature>
2630+
2631+
<cxx-requires>
2632+
<ins>
2633+
<code>i &lt; size()</code>.
2634+
</ins>
2635+
</cxx-requires>
2636+
2637+
<cxx-returns>
2638+
<ins>
2639+
A <code>reference</code> (see <a href="#parallel.simd.reference">[parallel.simd.reference]</a>) referring to the <em>i</em>-th element.
2640+
</ins>
2641+
</cxx-returns>
2642+
2643+
<cxx-throws>
2644+
<ins>
2645+
Nothing.
2646+
</ins>
2647+
</cxx-throws>
2648+
</cxx-function>
2649+
2650+
<cxx-function>
2651+
<cxx-signature><ins>value_type operator[](size_t i) const;</ins></cxx-signature>
2652+
2653+
<cxx-requires>
2654+
<ins>
2655+
<code>i &lt; size()</code>.
2656+
</ins>
2657+
</cxx-requires>
2658+
2659+
<cxx-returns>
2660+
<ins>
2661+
The value of the <em>i</em>-th element.
2662+
</ins>
2663+
</cxx-returns>
2664+
2665+
<cxx-throws>
2666+
<ins>
2667+
Nothing.
2668+
</ins>
2669+
</cxx-throws>
2670+
</cxx-function>
2671+
</cxx-section>
26242672
</cxx-section>
26252673
</cxx-section>
26262674
</cxx-clause>

0 commit comments

Comments
 (0)