And<... > Struct Template Reference

Detailed Description

template<Bool...>
struct maxon::And<... >

Use And to do a compile-time boolean and for a list of values. The result will be in the static member value. Example:

template <typename... ARGS> void Func(const ARG&... arg)
{
static_assert(And<SomeCheck<ARG>::value...>::value, "SomeCheck failed for at least one of ARG.");
}
@ And
Definition: Python-ast.h:22
#define arg(a0, a1, a2, a3, a4, a5, a6, a7)
Definition: Python-ast.h:673
PyObject * value
Definition: abstract.h:715