![]() |
hpx::parallel::v1::is_execution_policy
// In header: <hpx/parallel/execution_policy.hpp> template<typename T> struct is_execution_policy { };
The type is_execution_policy can be used to detect execution policies for the purpose of excluding function signatures from otherwise ambiguous overload resolution participation.
If T is the type of a standard or implementation-defined execution policy, is_execution_policy<T> shall be publicly derived from integral_constant<bool, true>, otherwise from integral_constant<bool, false>.
The behavior of a program that adds specializations for is_execution_policy is undefined.