|
1338 | 1338 |
|
1339 | 1339 | \begin{itemize}
|
1340 | 1340 | \item
|
1341 |
| -if \tcode{uses_executor<T, Executor>::value} is \tcode{true} and \tcode{is_constructible<T, executor_arg_t, Executor, V1, V2, ..., VN>::value} is \tcode{true}, then \tcode{obj} is initialized as \tcode{obj(executor_arg, ex, v1, v2, ..., vN)}; |
| 1341 | +if \tcode{uses_executor_v<T, Executor>} is \tcode{true} |
| 1342 | +and \tcode{is_constructible<T, executor_arg_t, Executor, V1, V2, ..., VN>::value} is \tcode{true}, |
| 1343 | +then \tcode{obj} is initialized as \tcode{obj(executor_arg, ex, v1, v2, ..., vN)}; |
1342 | 1344 |
|
1343 | 1345 | \item
|
1344 | 1346 | otherwise, \tcode{obj} is initialized as \tcode{obj(v1, v2, ..., vN)}.
|
|
1458 | 1460 | \returns \tcode{associated_executor<T, Executor>::get(t, ex)}.
|
1459 | 1461 |
|
1460 | 1462 | \pnum
|
1461 |
| -\remarks This function shall not participate in overload resolution unless \tcode{is_executor<Executor>::value} is \tcode{true}. |
| 1463 | +\remarks This function shall not participate in overload resolution unless |
| 1464 | +\tcode{is_executor_v<Executor>} is \tcode{true}. |
1462 | 1465 | \end{itemdescr}
|
1463 | 1466 |
|
1464 | 1467 | \begin{itemdecl}
|
|
1804 | 1807 | \returns \tcode{executor_binder<decay_t<T>, Executor>(forward<T>(t), ex)}.
|
1805 | 1808 |
|
1806 | 1809 | \pnum
|
1807 |
| -\remarks This function shall not participate in overload resolution unless \tcode{is_executor<Executor>::value} is \tcode{true}. |
| 1810 | +\remarks This function shall not participate in overload resolution unless |
| 1811 | +\tcode{is_executor_v<Executor>} is \tcode{true}. |
1808 | 1812 | \end{itemdescr}
|
1809 | 1813 |
|
1810 | 1814 | \indexlibrary{\idxcode{bind_executor}}%
|
|
1970 | 1974 | \returns \tcode{executor_work_guard<Executor>(ex)}.
|
1971 | 1975 |
|
1972 | 1976 | \pnum
|
1973 |
| -\remarks This function shall not participate in overload resolution unless \tcode{is_executor<Executor>::value} is \tcode{true}. |
| 1977 | +\remarks This function shall not participate in overload resolution unless |
| 1978 | +\tcode{is_executor_v<Executor>} is \tcode{true}. |
1974 | 1979 | \end{itemdescr}
|
1975 | 1980 |
|
1976 | 1981 | \indexlibrary{\idxcode{make_work_guard}}%
|
|
2000 | 2005 | \returns \tcode{make_work_guard(get_associated_executor(t))}.
|
2001 | 2006 |
|
2002 | 2007 | \pnum
|
2003 |
| -\remarks This function shall not participate in overload resolution unless \tcode{is_executor<T>::value} is \tcode{false} and \tcode{is_convertible<T\&, execution_context\&>::value} is \tcode{false}. |
| 2008 | +\remarks This function shall not participate in overload resolution unless |
| 2009 | +\tcode{is_executor_v<T>} is \tcode{false} |
| 2010 | +and \tcode{is_convertible<T\&, execution_context\&>::value} is \tcode{false}. |
2004 | 2011 | \end{itemdescr}
|
2005 | 2012 |
|
2006 | 2013 | \indexlibrary{\idxcode{make_work_guard}}%
|
|
2796 | 2803 | \returns \tcode{completion.result.get()}.
|
2797 | 2804 |
|
2798 | 2805 | \pnum
|
2799 |
| -\remarks This function shall not participate in overload resolution unless \tcode{is_executor<Executor>::value} is \tcode{true}. |
| 2806 | +\remarks This function shall not participate in overload resolution unless |
| 2807 | +\tcode{is_executor_v<Executor>} is \tcode{true}. |
2800 | 2808 | \end{itemdescr}
|
2801 | 2809 |
|
2802 | 2810 | \begin{itemdecl}
|
|
2882 | 2890 | \returns \tcode{completion.result.get()}.
|
2883 | 2891 |
|
2884 | 2892 | \pnum
|
2885 |
| -\remarks This function shall not participate in overload resolution unless \tcode{is_executor<Executor>::value} is \tcode{true}. |
| 2893 | +\remarks This function shall not participate in overload resolution unless |
| 2894 | +\tcode{is_executor_v<Executor>} is \tcode{true}. |
2886 | 2895 | \end{itemdescr}
|
2887 | 2896 |
|
2888 | 2897 | \begin{itemdecl}
|
|
2968 | 2977 | \returns \tcode{completion.result.get()}.
|
2969 | 2978 |
|
2970 | 2979 | \pnum
|
2971 |
| -\remarks This function shall not participate in overload resolution unless \tcode{is_executor<Executor>::value} is \tcode{true}. |
| 2980 | +\remarks This function shall not participate in overload resolution unless |
| 2981 | +\tcode{is_executor_v<Executor>} is \tcode{true}. |
2972 | 2982 | \end{itemdescr}
|
2973 | 2983 |
|
2974 | 2984 | \begin{itemdecl}
|
|
0 commit comments