Skip to content

Commit 7b2f025

Browse files
[execpol.type] Make "see below" for is_execution_policy more precise
In order to make `is_execution_policy` satisfity the requirements, an implementation should determine the base class (which is either `true_type` or `false_type`) for each specialization, but not add things into the `{}`. This PR makes the intent clearer.
1 parent d18bd92 commit 7b2f025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/algorithms.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@
640640

641641
\indexlibraryglobal{is_execution_policy}%
642642
\begin{itemdecl}
643-
template<class T> struct is_execution_policy { @\seebelow@ };
643+
template<class T> struct is_execution_policy : bool_constant<@\seebelow@> { };
644644
\end{itemdecl}
645645

646646
\begin{itemdescr}

0 commit comments

Comments
 (0)