carb::cpp17::disjunction

Defined in carb/cpp17/TypeTraits.h

template<typename ...B>
struct disjunction : public detail::disjunction_impl<B...>

A disjunction is the logical or of all B traits.

An empty list results in a false value. This metafunction is short-circuiting.

Template Parameters

B – The series of traits to evaluate the value member of. Each B must have a member constant value which is convertible to bool. Use of cpp17::bool_constant is helpful here.