Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::experimental::where(3)   C++ Standard Libary  std::experimental::where(3)

NAME
       std::experimental::where	- std::experimental::where

Synopsis
	  Defined in header <experimental/simd>
	  template < class T, class Abi	>

	  where_expression<simd_mask<T,	 Abi>,	simd<T,	 Abi>>		   (1)
       (parallelism TS v2)
	  where( const typename	simd<T,	Abi>::mask_type& mask,

	  simd<T, Abi>&	value) noexcept;
	  template < class T, class Abi	>

	  const_where_expression<simd_mask<T, Abi>, const simd<T,
	  Abi>>								   (2)
       (parallelism TS v2)
	  where( const typename	simd<T,	Abi>::mask_type& mask,

	  const	simd<T,	Abi>& value) noexcept;
	  template < class T, class Abi	>

	  where_expression<simd_mask<T,	 Abi>,	simd_mask<T,  Abi>>	   (3)
       (parallelism TS v2)
	  where( const nodeduce_t<simd_mask<T, Abi>>& mask,

	  simd_mask<T, Abi>& value) noexcept;
	  template < class T, class Abi	>

	  const_where_expression<simd_mask<T, Abi>, const simd_mask<T,
	  Abi>>								   (4)
       (parallelism TS v2)
	  where( const nodeduce_t<simd_mask<T, Abi>>& mask,

	  const	simd_mask<T, Abi>& value) noexcept;
	  template < class T >

	  where_expression<bool,   T>					   (5)
       (parallelism TS v2)

	  where( /*see below*/ mask, T&	value )	noexcept;
	  template < class T >

	  const_where_expression<bool,	const  T>			   (6)
       (parallelism TS v2)

	  where( /*see below*/ mask, const T& value ) noexcept;

	  Constructs a new const_where_expression or where_expression.

	  1-6) constructs a where_expression from given	mask and value parame-
       ters.

Parameters
	  1-4)

	  mask	- the simd_mask	object
	  value	- reference to the object that mask applies on

	  5-6)

	  mask	- the mask of type bool
	  value	- reference to the scalar that mask applies on

Return value
	  The constructed const_where_expression or where_expression.

Notes
	  5-6) uses implementation defined type	of mask, so that implicit con-
       versions	from
	  other	types to bool is disabled.

Example
http://cppreference.com		  2022.07.31	   std::experimental::where(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::experimental::where&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help