std::experi...e_expression(3)
π NAME π
This page is std::experi...e_expression(3) from the C++ Standard Libary manual β yes bestie, that's the manual name, and yes the title is literally truncated like that, iykyk π
.
The name is std::experimental::const_where_expression β std::experimental::const_where_expression. That's the whole NAME vibe: same thing twice, slay.
π¦ Synopsis π¦
Defined in header <experimental/simd>
template< class M, class V > (parallelism TS v2)
class const_where_expression;
Okay so the class template const_where_expression abstracts the notion of selected elements of a given const object of arithmetic or data-parallel type. And βselected elementsβ means the elements data[i] for all i β { j β β | j < M::size() β mask[j] } β literally that exact set, no cap π«Ά.
πΈ Template parameters πΈ
Mβ the mask type. That's it, that's the job π.Vβ the value typeMapplies on.
Valid combinations of (M, V) are literally:
(simd_mask<T, Abi>, const simd<T, Abi>)(simd_mask<T, Abi>, const simd_mask<T, Abi>)(bool, const T)
π Member functions π
These are the member functions, and I'm keeping every lil line:
operator-β unary operatorsoperator+β public member functionoperator~copy_toβ stores selected elements to address (public member function)
π Example π
This section is incomplete Reason: no example
Yeah bestie, no example yet π. The manual is literally telling on itself.
π§ Category π§
Todo no example
mwah π this was std::experi...e_expression(3) from http://cppreference.com, version/date 2024.06.10. bye bestie, go slay some SIMD ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms