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 constantvalue
which is convertible tobool
. Use of cpp::bool_constant is helpful here.