home | help
std::experi...tion_policy(3)   C++ Standard Libary  std::experi...tion_policy(3)

NAME
     std::experimental::parallel::is_execution_policy  - std::experimental::par-
     allel::is_execution_policy

Synopsis
	Defined in header <experimental/execution_policy>
	template< class T >				   (parallelism TS)
	struct is_execution_policy;

	Checks whether T is a standard or implementation-defined execution  pol-
     icy type.

	Provides  the member constant value which is equal to true, if T is exe-
     cution_policy,
	sequential_execution_policy, parallel_execution_policy,
	parallel_vector_execution_policy, or an implementation-defined execution
     policy
	type. Otherwise, value is equal to false.

	The behavior of  a  program  that  adds  specializations  for  is_execu-
     tion_policy is
	undefined.

Template parameters
	T - a type to check

	Helper template

	Defined in header <experimental/execution_policy>
	template< class T >
	constexpr	      bool	      is_execution_policy_v	       =
     (parallelism TS)
	is_execution_policy<T>::value;

     Inherited from std::integral_constant

Member constants
	value	 true if T is a  standard  or  implementation-defined  execution
     policy type,
	[static] false otherwise
		 (public static member constant)

Member functions
	operator bool converts the object to bool, returns value
		      (public member function)
	operator()    returns value
	(C++14)       (public member function)

Member types
	Type	   Definition
	value_type bool
	type	   std::integral_constant<bool, value>

http://cppreference.com 	   2024.06.10	    std::experi...tion_policy(3)

home | help