std::experimental::where
From cppreference.com
< cpp | experimental | simd
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Experimental
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals TS v2)
Library fundamentals 3 (library fundamentals TS v3)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Extensions for concurrency 2 (concurrency TS v2)
Concepts (concepts TS)
Ranges (ranges TS)
Reflection (reflection TS)
Mathematical special functions (special functions TR)
Extensions for parallelism v2
Parallel exceptions
Additional execution policies
Algorithms
Task blocks
Defined in header
<experimental/simd>
template< class T, class Abi >
(1)
(parallelism TS v2)
where_expression<simd_mask<T, Abi>, simd<T, Abi>>
where( const typename simd<T, Abi>::mask_type& mask,
template< class T, class Abi >
(2)
(parallelism TS v2)
const_where_expression<simd_mask<T, Abi>, const simd<T, Abi>>
where( const typename simd<T, Abi>::mask_type& mask,
template< class T, class Abi >
(3)
(parallelism TS v2)
where_expression<simd_mask<T, Abi>, simd_mask<T, Abi>>
where( const type_identity_t<simd_mask<T, Abi>>& mask,
template< class T, class Abi >
(4)
(parallelism TS v2)
const_where_expression<simd_mask<T, Abi>, const simd_mask<T, Abi>>
where( const type_identity_t<simd_mask<T, Abi>>& mask,
template< class T >
(5)
(parallelism TS v2)
where_expression<bool, T>
template< class T >
(6)
(parallelism TS v2)
const_where_expression<bool, const T>
Constructs a new const_where_expression
or where_expression
.
1-6) Constructs a where_expression from given mask and value parameters.
Contents
[edit] Parameters
5,6)
mask
-
the mask of type bool
value
-
reference to the scalar that mask applies on
[edit] Return value
The constructed const_where_expression
or where_expression
.
[edit] Notes
5,6) Uses implementation defined type of mask, so that implicit conversions from other types to bool is disabled.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example