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.");
}