You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A <code>reference</code> is an object that refers to an element in a <code>simd</code> or <code>simd_mask</code> object. <code>reference::value_type</code> is the same type as <code>simd::value_type</code> or <code>simd_mask::value_type</code>, respectively.
1035
+
</ins>
1036
+
</p>
1037
+
1038
+
<p>
1039
+
<ins>
1040
+
Class <code>reference</code> is for exposition only. An implementation is permitted to provide equivalent functionality without providing a class with this name.
Replaces the referred to element in <code>simd</code> or <code>simd_mask</code> with <code>static_cast<value_type>(std::forward<U>(x))</code>.
1095
+
</ins>
1096
+
</cxx-effects>
1097
+
1098
+
<cxx-returns>
1099
+
<ins>
1100
+
A copy of <code>*this</code>.
1101
+
</ins>
1102
+
</cxx-returns>
1103
+
1104
+
<cxx-remarks>
1105
+
<ins>
1106
+
This function shall not participate in overload resolution unless <code>declval<value_type &>() = std::forward>U>(x)</code> is well-formed.
Applies the indicated compound operator to the referred to element in <code>simd</code> or <code>simd_mask</code> and <code>std::forward<U>(x)</code>.
1128
+
</ins>
1129
+
</cxx-effects>
1130
+
1131
+
<cxx-returns>
1132
+
<ins>
1133
+
A copy of <code>*this</code>.
1134
+
</ins>
1135
+
</cxx-returns>
1136
+
1137
+
<cxx-remarks>
1138
+
<ins>
1139
+
This function shall not participate in overload resolution unless <code>declval<value_type &&>() @= std::forward<U>(x)</code> (where <code>@=</code> denotes the indicated compound assignment operator) is well-formed.
1140
+
</ins>
1141
+
</cxx-remarks>
1142
+
</cxx-function>
1143
+
1144
+
<cxx-function>
1145
+
<cxx-signature><ins>
1146
+
reference operator++() &&;
1147
+
reference operator--() &&;
1148
+
</ins>
1149
+
</cxx-signature>
1150
+
1151
+
<cxx-effects>
1152
+
<ins>
1153
+
Applies the indicated operator to the referred to element in <code>simd</code> or <code>simd_mask</code>.
1154
+
</ins>
1155
+
</cxx-effects>
1156
+
1157
+
<cxx-returns>
1158
+
<ins>
1159
+
A copy of <code>*this</code>.
1160
+
</ins>
1161
+
</cxx-returns>
1162
+
1163
+
<cxx-remarks>
1164
+
<ins>
1165
+
This function shall not participate in overload resolution unless the indicated operator can be applied to objects of type <code>value_type</code>.
1166
+
</ins>
1167
+
</cxx-remarks>
1168
+
</cxx-function>
1169
+
1170
+
<cxx-function>
1171
+
<cxx-signature><ins>
1172
+
value_type operator++(int) &&;
1173
+
value_type operator--(int) &&;
1174
+
</ins>
1175
+
</cxx-signature>
1176
+
1177
+
<cxx-effects>
1178
+
<ins>
1179
+
Applies the indicated operator to the referred to element in <code>simd</code> or <code>simd_mask</code>.
1180
+
</ins>
1181
+
</cxx-effects>
1182
+
1183
+
<cxx-returns>
1184
+
<ins>
1185
+
A copy of the referred to element before applying the indicated operator.
1186
+
</ins>
1187
+
</cxx-returns>
1188
+
1189
+
<cxx-remarks>
1190
+
<ins>
1191
+
This function shall not participate in overload resolution unless the indicated operator can be applied to objects of type <code>value_type</code>.
1192
+
</ins>
1193
+
</cxx-remarks>
1194
+
</cxx-function>
1195
+
1196
+
<cxx-function>
1197
+
<cxx-signature><ins>
1198
+
friend void swap(reference&& a, reference&& b) noexcept;
1199
+
friend void swap(value_type& a, reference&& b) noexcept;
1200
+
friend void swap(reference&& a, value_type& b) noexcept;</ins>
1201
+
</cxx-signature>
1202
+
1203
+
<cxx-effects>
1204
+
<ins>
1205
+
Exchanges the values <code>a</code> and <code>b</code> refer to.
0 commit comments