From Jason Turner

[execpol.type]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpcru4hivr/{from.md → to.md} +21 -0
tmp/tmpcru4hivr/{from.md → to.md} RENAMED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Execution policy type trait <a id="execpol.type">[[execpol.type]]</a>
2
+
3
+ ``` cpp
4
+ template<class T> struct is_execution_policy { see below };
5
+ ```
6
+
7
+ `is_execution_policy` can be used to detect execution policies for the
8
+ purpose of excluding function signatures from otherwise ambiguous
9
+ overload resolution participation.
10
+
11
+ `is_execution_policy<T>` shall be a `UnaryTypeTrait` with a base
12
+ characteristic of `true_type` if `T` is the type of a standard or
13
+ *implementation-defined* execution policy, otherwise `false_type`.
14
+
15
+ [*Note 1*: This provision reserves the privilege of creating
16
+ non-standard execution policies to the library
17
+ implementation. — *end note*]
18
+
19
+ The behavior of a program that adds specializations for
20
+ `is_execution_policy` is undefined.
21
+