std::is_execution_policy - cppreference.com (original) (raw)

| | | | | -------------------------------------------------- | | ------------- | | template< class T > struct is_execution_policy; | | (since C++17) |

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

Provides the member constant value which is equal to true, if T is a standard execution policy type, or an implementation-defined execution policy type. Otherwise, value is equal to false.

If the program adds specializations for std::is_execution_policy or std::is_execution_policy_v, the behavior is undefined.

Contents

[edit] Template parameters

[edit] Helper template

| | | | | ------------------------------------------------------------------------------------------------------ | | ------------- | | template< class T > constexpr bool is_execution_policy_v = std::is_execution_policy<T>::value; | | (since C++17) |

Inherited from std::integral_constant

Member constants

| | true if T is a standard or implementation-defined execution policy type, false otherwise (public static member constant) | | --------------------------------------------------------------------------------------------------------------------------- |

Member functions

| | converts the object to bool, returns value (public member function) | | ---------------------------------------------------------------------- | | | returns value (public member function) |

Member types

[edit] See also