You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raymond Chen edited this page Jul 23, 2019
·
1 revision
WIL contains a small number of template metaprogramming helpers.
Usage
The template metaprogarmming helpers are defined in wil/common.h.
#include<wil/common.h>
variadic_logical_or
template<bool...> structvariadic_logical_or
{
staticconstbool value; // true if any template parameter is true
};
The variadic_logical_or structure derives from wistd::true_type
if any of the boolean template parameters is true.
Otherwise, it derives from wistd::false_type.