carb::cpp::negation

Defined in carb/cpp/TypeTraits.h

template<typename B>
struct negation : public bool_constant<!bool(B::value)>

A logical not of B trait.

Template Parameters

B – The trait to evaluate the value member of. This must have a member constant value which is convertible to bool. Use of cpp::bool_constant is helpful here.